diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-06-16 17:23:21 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-03-26 21:06:24 +0100 |
commit | ee68aa36460d7efeca48747f33b7f2adc0900bfb (patch) | |
tree | 72c1b65d29301835c0e064b433ea685fc856a68e /print-ipcomp.c | |
parent | 1af20c3adc4dfef93de41d4fcd02f0aeb6bbfd4e (diff) | |
download | tcpdump-ee68aa36460d7efeca48747f33b7f2adc0900bfb.tar.gz |
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.
Diffstat (limited to 'print-ipcomp.c')
-rw-r--r-- | print-ipcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-ipcomp.c b/print-ipcomp.c index 9897dac7..98e2999c 100644 --- a/print-ipcomp.c +++ b/print-ipcomp.c @@ -45,7 +45,7 @@ ipcomp_print(netdissect_options *ndo, const u_char *bp) ndo->ndo_protocol = "ipcomp"; ipcomp = (const struct ipcomp *)bp; ND_TCHECK_SIZE(ipcomp); - cpi = EXTRACT_BE_U_2(ipcomp->comp_cpi); + cpi = GET_BE_U_2(ipcomp->comp_cpi); ND_PRINT("IPComp(cpi=0x%04x)", cpi); |