summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.c
diff options
context:
space:
mode:
authorDmitrii Turlupov <dturlupov@factor-ts.ru>2022-04-29 13:56:25 +0200
committerDmitrii Turlupov <dturlupov@factor-ts.ru>2022-04-29 13:56:25 +0200
commit5f933e1eca39ae7aed935502da0c469b8fb2c16a (patch)
treeb83a62ed88efb084c8c8e8f3ba55de6eca316b55 /bgpd/bgp_route.c
parentMerge pull request #10988 from AbhishekNR/ipv6_mroute_cli (diff)
downloadfrr-5f933e1eca39ae7aed935502da0c469b8fb2c16a.tar.xz
frr-5f933e1eca39ae7aed935502da0c469b8fb2c16a.zip
bgpd: fix size of esi_buf
Fixes: #11111 Signed-off-by: Dmitrii Turlupov <dturlupov@factor-ts.ru>
Diffstat (limited to 'bgpd/bgp_route.c')
-rw-r--r--bgpd/bgp_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 12d360a03..2544ea520 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -15012,7 +15012,7 @@ static void bgp_config_write_network_evpn(struct vty *vty, struct bgp *bgp,
char buf[PREFIX_STRLEN * 2];
char buf2[SU_ADDRSTRLEN];
char rdbuf[RD_ADDRSTRLEN];
- char esi_buf[ESI_BYTES];
+ char esi_buf[ESI_STR_LEN];
/* Network configuration. */
for (pdest = bgp_table_top(bgp->route[afi][safi]); pdest;