]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-egp.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-egp.c
index 3a689d92612a8af2182b39a4eaa15a11e843cd15..aa8c7ce5c5f57f6a63a930ebc1824a1673a2d130 100644 (file)
@@ -255,6 +255,7 @@ egp_print(netdissect_options *ndo,
        u_int code;
        u_int status;
 
+       ndo->ndo_protocol = "egp";
        egp = (const struct egp_packet *)bp;
        if (length < sizeof(*egp) || !ND_TTEST_SIZE(egp)) {
                ND_PRINT("[|egp]");