]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-isoclns.c
Use more the ND_TTEST_1() macro
[tcpdump] / print-isoclns.c
index a1b4d07d162b752fbaeff8e19b1e5c107908735b..3d09f994eb564184b275af7d40feafd19e96c891 100644 (file)
@@ -671,7 +671,7 @@ struct isis_tlv_lsp {
 void
 isoclns_print(netdissect_options *ndo, const uint8_t *p, u_int length)
 {
-       if (!ND_TTEST(*p)) { /* enough bytes on the wire ? */
+       if (!ND_TTEST_1(p)) { /* enough bytes on the wire ? */
                ND_PRINT((ndo, "|OSI"));
                return;
        }