summaryrefslogtreecommitdiff
path: root/print-atm.c
diff options
context:
space:
mode:
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);