]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-macsec.c
IGMP: Remove all remaining ND_TCHECK*() cases.
[tcpdump] / print-macsec.c
index 905e9f9561f4660ddfc79092662d28d9a396b5dd..cf172811df50f83c66fb572fb3240bbb70c4d8e1 100644 (file)
@@ -108,7 +108,7 @@ static void macsec_print_header(netdissect_options *ndo,
        ND_PRINT(", ");
 }
 
-/* returns < 0 iff the packet can be decoded completely */
+/* returns < 0 if the packet can be decoded completely */
 int macsec_print(netdissect_options *ndo, const u_char **bp,
                 u_int *lengthp, u_int *caplenp, u_int *hdrlenp,
                 const struct lladdr_info *src, const struct lladdr_info *dst)
@@ -123,7 +123,7 @@ int macsec_print(netdissect_options *ndo, const u_char **bp,
        u_int short_length;
 
        save_protocol = ndo->ndo_protocol;
-       ndo->ndo_protocol = "MACsec";
+       ndo->ndo_protocol = "macsec";
 
        /* we need the full MACsec header in the capture */
        if (caplen < MACSEC_SECTAG_LEN_NOSCI) {