diff options
author | Alexander Azimov <a.e.azimov@gmail.com> | 2019-04-30 13:55:43 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-04-30 13:55:43 +0200 |
commit | 7ff34ca2cb86f3947bf049f73e76e6ce5d57e4a8 (patch) | |
tree | 1ac7bbeb1ae6bf1a7f434aff42d5a045633a4551 /proto/bgp/bgp.c | |
parent | 0b1e1e1a007f860230855d0c9e8adc88969ee077 (diff) |
BGP: Compliance with RFC8203bis
Diffstat (limited to 'proto/bgp/bgp.c')
-rw-r--r-- | proto/bgp/bgp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c index 35f1f588..c8aeb292 100644 --- a/proto/bgp/bgp.c +++ b/proto/bgp/bgp.c @@ -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); |