]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ip6.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-ip6.c
index f22d2c05f52e9bad7447dacb5442ca318a8f3eb7..50374e089bdca135a3cc3318d4d5821c3a7bc196 100644 (file)
@@ -224,6 +224,7 @@ ip6_print(netdissect_options *ndo, const u_char *bp, u_int length)
        int fragmented = 0;
        u_int flow;
 
+       ndo->ndo_protocol = "ip6";
        ip6 = (const struct ip6_hdr *)bp;
 
        ND_TCHECK_SIZE(ip6);