]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-pgm.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-pgm.c
index e7bad48a87d4031245f7d93b3b1a146f744646db..fdab66f825f07a60a2570c99e5826569d8f1a5fb 100644 (file)
@@ -158,6 +158,7 @@ pgm_print(netdissect_options *ndo,
        uint8_t opt_type, opt_len;
        uint32_t seq, opts_len, len, offset;
 
+       ndo->ndo_protocol = "pgm";
        pgm = (const struct pgm_header *)bp;
        ip = (const struct ip *)bp2;
        if (IP_V(ip) == 6)