]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-mobile.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-mobile.c
index ee916a943b0420d08b7f36a45a682835984226c7..11314d7c7f19c35d29cc6089af67d0abe5dceaf6 100644 (file)
@@ -70,6 +70,7 @@ mobile_print(netdissect_options *ndo, const u_char *bp, u_int length)
        u_short proto,crc;
        u_char osp =0;                  /* old source address present */
 
+       ndo->ndo_protocol = "mobile";
        mob = (const struct mobile_ip *)bp;
 
        if (length < MOBILE_SIZE || !ND_TTEST_SIZE(mob)) {