summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-04-12 09:52:04 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-04-12 09:52:33 +0200
commit61d5da84a02a24cafa3bcc6502293bb3d3e0e1c2 (patch)
tree553d5cedb2cbd84d7f891a92d96b1ccd7592a906
parent7a8e7f79c4398e984cf1756159f2b4eef0cd3657 (diff)
downloadtcpdump-61d5da84a02a24cafa3bcc6502293bb3d3e0e1c2.tar.gz
EAP: Assign ndo_protocol in the eap_print() function
-rw-r--r--print-eap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/print-eap.c b/print-eap.c
index 78439b71..e640e83d 100644
--- a/print-eap.c
+++ b/print-eap.c
@@ -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) {