summaryrefslogtreecommitdiff
path: root/print-bgp.c
diff options
context:
space:
mode:
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;
}