]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-atm.c
Use more the ND_TTEST_1() macro
[tcpdump] / print-atm.c
index 27106b4645983e37f91e58776b696732bef54cad..ed29c6d5ad215e297b39e12b64c21e6a27894a29 100644 (file)
@@ -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);