aboutsummaryrefslogtreecommitdiff
path: root/contrib/tcpdump/print-eap.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcpdump/print-eap.c')
-rw-r--r--contrib/tcpdump/print-eap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/tcpdump/print-eap.c b/contrib/tcpdump/print-eap.c
index 78439b71c003..1b1b9762a4ad 100644
--- a/contrib/tcpdump/print-eap.c
+++ b/contrib/tcpdump/print-eap.c
@@ -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) {