mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-14 07:49:10 +00:00
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:
parent
6baf6b184c
commit
461b6cd4d7
@ -845,8 +845,7 @@ void bgp_dump_init(void)
|
|||||||
memset(&bgp_dump_routes, 0, sizeof(bgp_dump_routes));
|
memset(&bgp_dump_routes, 0, sizeof(bgp_dump_routes));
|
||||||
|
|
||||||
bgp_dump_obuf =
|
bgp_dump_obuf =
|
||||||
stream_new((BGP_STANDARD_MESSAGE_MAX_PACKET_SIZE * 2)
|
stream_new(BGP_MAX_PACKET_SIZE + BGP_MAX_PACKET_SIZE_OVERFLOW);
|
||||||
+ BGP_DUMP_MSG_HEADER + BGP_DUMP_HEADER_SIZE);
|
|
||||||
|
|
||||||
install_node(&bgp_dump_node);
|
install_node(&bgp_dump_node);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user