]> The Tcpdump Group git mirrors - tcpdump/commitdiff
EAP: Assign ndo_protocol in the eap_print() function
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 12 Apr 2023 07:52:04 +0000 (09:52 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 12 Apr 2023 07:52:33 +0000 (09:52 +0200)
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) {