diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-20 22:58:59 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-20 22:58:59 +0100 |
commit | 93bee2402670249e78478ee3c7ce998a5e2343e6 (patch) | |
tree | cda929c01da5da4feda8bee39f23a8d8981f6915 /print-sunatm.c | |
parent | a58370c17f5227919bb1e9619a6a413a90d3fa45 (diff) | |
download | tcpdump-93bee2402670249e78478ee3c7ce998a5e2343e6.tar.gz |
Use pointer expressions like in most similar cases
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 4cadcc37..8c0b26a8 100644 --- a/print-sunatm.c +++ b/print-sunatm.c @@ -96,7 +96,7 @@ sunatm_if_print(netdissect_options *ndo, break; } - vci = EXTRACT_BE_16BITS(&p[VCI_POS]); + vci = EXTRACT_BE_16BITS(p + VCI_POS); vpi = p[VPI_POS]; p += PKT_BEGIN_POS; |