diff options
author | Alexander Azimov <a.e.azimov@gmail.com> | 2019-07-11 15:44:52 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-07-11 15:44:52 +0200 |
commit | 9ff6c8d83c7fee5f354d4d6ed4efc15bfc6bc7e1 (patch) | |
tree | 21a3c9023cb934052d8386904dc0c6b6c391179d /proto/bgp/bgp.c | |
parent | 78c05cc159a51ecbbf6b15eda6f97b2b3c9e7187 (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 d4b056be..3d59a31b 100644 --- a/proto/bgp/bgp.c +++ b/proto/bgp/bgp.c @@ -1317,7 +1317,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); |