]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rt6.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-rt6.c
index 2c67c11dbacbe5b39d77ea66a62b6063f13915a9..ab2798764b8b7ac50960d45bc5e3a636b2fe16e4 100644 (file)
@@ -44,6 +44,7 @@ rt6_print(netdissect_options *ndo, const u_char *bp, const u_char *bp2 _U_)
        u_int i, len, type;
        const u_char *p;
 
+       ndo->ndo_protocol = "rt6";
        dp = (const struct ip6_rthdr *)bp;
 
        ND_TCHECK_1(dp->ip6r_segleft);