summaryrefslogtreecommitdiffstats
path: root/print-pim.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:33 +0000
commit7ba700b7f6e5fb17d280e2b8a3ae28866777715f (patch)
tree2f538ff3d975beabb6c371d999b1ee6e8b91cfb5 /print-pim.c
parentReleasing progress-linux version 4.99.4-4~progress7.99u1. (diff)
downloadtcpdump-7ba700b7f6e5fb17d280e2b8a3ae28866777715f.tar.xz
tcpdump-7ba700b7f6e5fb17d280e2b8a3ae28866777715f.zip
Merging upstream version 4.99.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'print-pim.c')
-rw-r--r--print-pim.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/print-pim.c b/print-pim.c
index f2db8c7..30dfaa8 100644
--- a/print-pim.c
+++ b/print-pim.c
@@ -21,9 +21,7 @@
/* \summary: Protocol Independent Multicast (PIM) printer */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "netdissect-stdinc.h"
@@ -599,8 +597,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 +613,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)