X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/d90dda7ef6151c4174c807c3ad8ac3b2538127e1..00e8b701fc044af33c6777054a0a412dbdb3f844:/print-pim.c diff --git a/print-pim.c b/print-pim.c index f2db8c76..1ec93060 100644 --- a/print-pim.c +++ b/print-pim.c @@ -599,8 +599,7 @@ pimv2_addr_print(netdissect_options *ndo, if (af == AF_INET) { if (!silent) ND_PRINT("%s", GET_IPADDR_STRING(bp)); - } - else if (af == AF_INET6) { + } else if (af == AF_INET6) { if (!silent) ND_PRINT("%s", GET_IP6ADDR_STRING(bp)); } @@ -616,8 +615,7 @@ pimv2_addr_print(netdissect_options *ndo, if (GET_U_1(bp + 1) != 32) ND_PRINT("/%u", GET_U_1(bp + 1)); } - } - else if (af == AF_INET6) { + } else if (af == AF_INET6) { if (!silent) { ND_PRINT("%s", GET_IP6ADDR_STRING(bp + 2)); if (GET_U_1(bp + 1) != 128)