Merge pull request #13153 from jeclarke/dump_buf_size

bgpd: increase buffer size used for dumping BGP to MRT files
This commit is contained in:
Donatas Abraitis 2023-03-31 09:24:30 +03:00 committed by GitHub
commit 561f8ea30a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);