diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-04-21 14:44:55 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-04-21 15:17:22 +0200 |
commit | 3018f3698b1463d4577ea8b412f079f4381b7605 (patch) | |
tree | a4bda8e5964715ab6806cddff75da97f15395108 /print-pim.c | |
parent | e4ecc39f4ebb05aa2fb8293aaa71ffbe0a340ff1 (diff) | |
download | tcpdump-4.99.tar.gz |
Put "}" at beginning of line with "else" to keep a consistent styletcpdump-4.99
(backported from commit 113ed15b7ecae4a3523454344f9b3438ea97fdc7)
[skip ci]
Diffstat (limited to 'print-pim.c')
-rw-r--r-- | print-pim.c | 6 |
1 files changed, 2 insertions, 4 deletions
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) |