]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-eap.c
EAP: Assign ndo_protocol in the eap_print() function
[tcpdump] / print-eap.c
index 78439b71c003dbf4a3ff559dba1322163b8a00b9..e640e83dd46208610e402f4698d62c5e87b9bdc9 100644 (file)
@@ -155,6 +155,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) {