mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Avoid printing of error messages on Cease notifications.
This commit is contained in:
parent
00c0c18aea
commit
8573314326
@ -439,7 +439,9 @@ bgp_log_error(struct bgp_proto *p, char *msg, unsigned code, unsigned subcode, b
|
|||||||
byte *t, argbuf[36];
|
byte *t, argbuf[36];
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
/* FIXME: Printing of cease messages */
|
if (code == 6 && !subcode) /* Don't report Cease messages */
|
||||||
|
return;
|
||||||
|
|
||||||
bsprintf(namebuf, "%d.%d", code, subcode);
|
bsprintf(namebuf, "%d.%d", code, subcode);
|
||||||
name = namebuf;
|
name = namebuf;
|
||||||
for (i=0; i < ARRAY_SIZE(bgp_msg_table); i++)
|
for (i=0; i < ARRAY_SIZE(bgp_msg_table); i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user