]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-bgp.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-bgp.c
index fff46bf13061d72f04475b72006957071a98c775..2a3e765122c839739f909f6ba26b59359e6a0dbf 100644 (file)
@@ -3065,6 +3065,7 @@ bgp_print(netdissect_options *ndo,
     const struct bgp *bgp_header;
     uint16_t hlen;
 
+    ndo->ndo_protocol = "bgp";
     ND_PRINT(": BGP");
 
     if (ndo->ndo_vflag < 1) /* lets be less chatty */