mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
BGP: Compliance with RFC8203bis
This commit is contained in:
committed by
Ondrej Zajicek (work)
parent
0b1e1e1a00
commit
7ff34ca2cb
@@ -1611,7 +1611,7 @@ bgp_shutdown(struct proto *P)
|
||||
if (message)
|
||||
{
|
||||
uint msg_len = strlen(message);
|
||||
msg_len = MIN(msg_len, 128);
|
||||
msg_len = MIN(msg_len, 255);
|
||||
|
||||
/* Buffer will be freed automatically by protocol shutdown */
|
||||
data = mb_alloc(p->p.pool, msg_len + 1);
|
||||
|
Reference in New Issue
Block a user