X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/11d3a01319e295dcabfb2647302d278938449226..d7b497cac78b6e22a66a6bae9bdec60a8044f67a:/print-mobile.c 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; }