summaryrefslogtreecommitdiff
path: root/print-atm.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-12-04 22:45:01 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-12-05 10:45:44 +0100
commit03a2d9c4c1e360def4f9d0473f9b378ef2f14431 (patch)
treea4c461c32a90c3b7b671c0b15edc70ac18be5a36 /print-atm.c
parent7e3467df250235e68fea65320a89a5116da85be2 (diff)
downloadtcpdump-03a2d9c4c1e360def4f9d0473f9b378ef2f14431.tar.gz
Use more the EXTRACT_U_1() macro (47/n)
In: if (... *(p) ...) ...
Diffstat (limited to 'print-atm.c')
-rw-r--r--print-atm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-atm.c b/print-atm.c
index 27106b46..ed29c6d5 100644
--- a/print-atm.c
+++ b/print-atm.c
@@ -259,7 +259,7 @@ atm_if_print(netdissect_options *ndo,
}
/* Cisco Style NLPID ? */
- if (*p == LLC_UI) {
+ if (EXTRACT_U_1(p) == LLC_UI) {
if (ndo->ndo_eflag)
ND_PRINT((ndo, "CNLPID "));
isoclns_print(ndo, p + 1, length - 1);