]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-eap.c
CHANGES: Add/move change(s) backported to 4.99
[tcpdump] / print-eap.c
index 78439b71c003dbf4a3ff559dba1322163b8a00b9..1b1b9762a4ad0e880be2b6875521e4729cade4f9 100644 (file)
@@ -20,9 +20,7 @@
 
 /* \summary: Extensible Authentication Protocol (EAP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -155,6 +153,7 @@ eap_print(netdissect_options *ndo,
     u_int count;
     const char *sep;
 
+    ndo->ndo_protocol = "eap";
     type = GET_U_1(cp);
     len = GET_BE_U_2(cp + 2);
     if (len != length) {