From 03a2d9c4c1e360def4f9d0473f9b378ef2f14431 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Mon, 4 Dec 2017 22:45:01 +0100 Subject: Use more the EXTRACT_U_1() macro (47/n) In: if (... *(p) ...) ... --- print-atm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print-atm.c') 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); -- cgit v1.2.1