]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-mobile.c
Add printing support for vsockmon devices.
[tcpdump] / print-mobile.c
index 28713acc73e23a978f7b135219876e86f8e4f8a6..50bcd3eba82b325a33971dfbe887f83cbd7110ba 100644 (file)
@@ -79,8 +79,8 @@ mobile_print(netdissect_options *ndo, const u_char *bp, u_int length)
        }
        ND_PRINT("mobile: ");
 
-       proto = EXTRACT_BE_U_2(mob->proto);
-       crc =  EXTRACT_BE_U_2(mob->hcheck);
+       proto = GET_BE_U_2(mob->proto);
+       crc =  GET_BE_U_2(mob->hcheck);
        if (proto & OSRC_PRES) {
                osp=1;
        }