bgpd: increase buffer size used for dumping BGP to MRT files

Signed-off-by: James Clarke (jamclar2) <jamclar2@cisco.com>
This commit is contained in:
jeclarke 2023-03-30 14:23:48 +01:00
parent 6baf6b184c
commit 461b6cd4d7
No known key found for this signature in database
GPG Key ID: 5C296E0F7D331F62

View File

@ -845,8 +845,7 @@ void bgp_dump_init(void)
memset(&bgp_dump_routes, 0, sizeof(bgp_dump_routes));
bgp_dump_obuf =
stream_new((BGP_STANDARD_MESSAGE_MAX_PACKET_SIZE * 2)
+ BGP_DUMP_MSG_HEADER + BGP_DUMP_HEADER_SIZE);
stream_new(BGP_MAX_PACKET_SIZE + BGP_MAX_PACKET_SIZE_OVERFLOW);
install_node(&bgp_dump_node);