summaryrefslogtreecommitdiff
path: root/print-bgp.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-04-21 14:44:55 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-04-21 14:45:18 +0200
commit113ed15b7ecae4a3523454344f9b3438ea97fdc7 (patch)
tree288c7f9e0ad328fb780a7a0c2ce0631b5bccb181 /print-bgp.c
parent2e99bc485ab304df2d4c797af9576ad1b167c0f8 (diff)
downloadtcpdump-113ed15b7ecae4a3523454344f9b3438ea97fdc7.tar.gz
Put "}" at beginning of line with "else" to keep a consistent style
[skip ci]
Diffstat (limited to 'print-bgp.c')
-rw-r--r--print-bgp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/print-bgp.c b/print-bgp.c
index 59b080f2..694346d7 100644
--- a/print-bgp.c
+++ b/print-bgp.c
@@ -3206,8 +3206,7 @@ bgp_notification_print_code(netdissect_options *ndo,
/* garbage, hexdump it all */
if (shutdown_comm_length > length - 1) {
ND_PRINT(", invalid Shutdown Communication length");
- }
- else if (shutdown_comm_length == 0) {
+ } else if (shutdown_comm_length == 0) {
ND_PRINT(", empty Shutdown Communication");
remainder_offset += 1;
}