X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/11d3a01319e295dcabfb2647302d278938449226..de0c7fc746c37eb83e15a6890d30dc6f608e9d76:/print-mobile.c?ds=inline diff --git a/print-mobile.c b/print-mobile.c index 6d31648c..5f9f54fe 100644 --- a/print-mobile.c +++ b/print-mobile.c @@ -78,8 +78,8 @@ mobile_print(netdissect_options *ndo, const u_char *bp, u_int length) } ND_PRINT((ndo, "mobile: ")); - proto = EXTRACT_16BITS(&mob->proto); - crc = EXTRACT_16BITS(&mob->hcheck); + proto = EXTRACT_BE_U_2(&mob->proto); + crc = EXTRACT_BE_U_2(&mob->hcheck); if (proto & OSRC_PRES) { osp=1; }