0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

Avoid printing of error messages on Cease notifications.

This commit is contained in:
Martin Mares 2000-04-25 23:08:03 +00:00
parent 00c0c18aea
commit 8573314326

View File

@ -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++)