]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-macsec.c
RIP: Modernize packet parsing style.
[tcpdump] / print-macsec.c
index 905e9f9561f4660ddfc79092662d28d9a396b5dd..0cf8cd67385987a47d3de2e5cc821b55bb7a5767 100644 (file)
@@ -27,8 +27,6 @@
 
 #include <netdissect-stdinc.h>
 
-#include <string.h>
-
 #include "netdissect.h"
 #include "addrtoname.h"
 #include "ethertype.h"
@@ -123,7 +121,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) {