diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-09 12:32:00 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-09 14:05:25 +0100 |
commit | 07ac438e08e5ffed3539e10d78f1cfc7d221d591 (patch) | |
tree | 8e07185c1f646ef08c85bbb7d9a075b32e65272f /print-sunatm.c | |
parent | 1cfd6cd2ac8acecbcf16e083a6cd272a19ec994e (diff) | |
download | tcpdump-07ac438e08e5ffed3539e10d78f1cfc7d221d591.tar.gz |
Use more the EXTRACT_U_1() macro (52/n)
Assignment, p[n]
Diffstat (limited to 'print-sunatm.c')
-rw-r--r-- | print-sunatm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-sunatm.c b/print-sunatm.c index c46598d4..4692c270 100644 --- a/print-sunatm.c +++ b/print-sunatm.c @@ -97,7 +97,7 @@ sunatm_if_print(netdissect_options *ndo, } vci = EXTRACT_BE_U_2(p + VCI_POS); - vpi = p[VPI_POS]; + vpi = EXTRACT_U_1(p + VPI_POS); p += PKT_BEGIN_POS; caplen -= PKT_BEGIN_POS; |