]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ripng.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-ripng.c
index 8a66cf4030fe8e1fa11c4ff0059c6a273fcb0f37..90eddf4571703719d5a1904f6f8839197e12062e 100644 (file)
@@ -116,6 +116,7 @@ ripng_print(netdissect_options *ndo, const u_char *dat, unsigned int length)
        unsigned int length_left;
        u_int j;
 
+       ndo->ndo_protocol = "ripng";
        ND_TCHECK_1(rp->rip6_cmd);
        cmd = EXTRACT_U_1(rp->rip6_cmd);
        switch (cmd) {