X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/451ac4c753933eca8ffd5fd5192a03334520d789..1a04b92e365f5ed01ca38619b41bcc4fc9cbd63c:/print-atm.c?ds=sidebyside 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);