summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/bgp/packets.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c
index d17491b..0290f93 100644
--- a/proto/bgp/packets.c
+++ b/proto/bgp/packets.c
@@ -439,7 +439,9 @@ bgp_log_error(struct bgp_proto *p, char *msg, unsigned code, unsigned subcode, b
byte *t, argbuf[36];
unsigned i;
- /* FIXME: Printing of cease messages */
+ if (code == 6 && !subcode) /* Don't report Cease messages */
+ return;
+
bsprintf(namebuf, "%d.%d", code, subcode);
name = namebuf;
for (i=0; i < ARRAY_SIZE(bgp_msg_table); i++)