From ee68aa36460d7efeca48747f33b7f2adc0900bfb Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Sat, 16 Jun 2018 17:23:21 +0200 Subject: Use the new GET_ macros instead of the EXTRACT_ ones The exceptions are currently: Some EXTRACT_ in print-juniper.c, not used on packet buffer pointer. An EXTRACT_BE_U_3 in addrtoname.c, not always used on packet buffer pointer. --- print-mobile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print-mobile.c') diff --git a/print-mobile.c b/print-mobile.c index 28713acc..50bcd3eb 100644 --- a/print-mobile.c +++ b/print-mobile.c @@ -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; } -- cgit v1.2.1