]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-icmp6.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-icmp6.c
index 9bbd5c81f5d38a812db6b96f719eed06edf96d95..151a4db7b80b809fd54b9784cb8769b69f627499 100644 (file)
@@ -1033,6 +1033,7 @@ icmp6_print(netdissect_options *ndo,
        const u_char *ep;
        u_int prot;
 
+       ndo->ndo_protocol = "icmp6";
        dp = (const struct icmp6_hdr *)bp;
        ip = (const struct ip6_hdr *)bp2;
        oip = (const struct ip6_hdr *)(dp + 1);