summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print-bgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-bgp.c b/print-bgp.c
index dc16d914..850ce050 100644
--- a/print-bgp.c
+++ b/print-bgp.c
@@ -2406,7 +2406,7 @@ bgp_update_print(const u_char *dat, int length)
break;
} else if (wpfx == -2)
goto trunc;
- } else if (wpfx == -3)
+ else if (wpfx == -3)
goto trunc; /* bytes left, but not enough */
else {
printf("\n\t %s", buf);