X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/5cea2703185c6af1616dc338c43c6cf67b0bec60..1a859e9f5ce9c94bee91cf65aac9d3d531f76f66:/print-pim.c diff --git a/print-pim.c b/print-pim.c index 8e52de5a..fa6a345a 100644 --- a/print-pim.c +++ b/print-pim.c @@ -259,7 +259,7 @@ pimv1_print(netdissect_options *ndo, ND_PRINT((ndo, " %s", tok2str(pimv1_type_str, "[type %u]", type))); switch (type) { case PIMV1_TYPE_QUERY: - if (ND_TTEST(bp[8])) { + if (ND_TTEST_1(bp + 8)) { switch (EXTRACT_U_1(bp + 8) >> 4) { case 0: ND_PRINT((ndo, " Dense-mode"));