From: Igor Ryzhov Date: Fri, 6 Aug 2021 14:06:39 +0000 (+0300) Subject: bgpd: use longer aspath string in opaque data X-Git-Tag: base_8.1~231^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=a9bf0ff26805e8cb7ff247451ecc8ad6f0c6ad57;p=mirror%2Ffrr.git bgpd: use longer aspath string in opaque data 32 bytes are not enough to carry relatively long AS paths so let's make the buffer larger. Signed-off-by: Igor Ryzhov --- diff --git a/lib/route_opaque.h b/lib/route_opaque.h index 599a0363eb..fd4e3d5891 100644 --- a/lib/route_opaque.h +++ b/lib/route_opaque.h @@ -26,7 +26,7 @@ #include "bgpd/bgp_lcommunity.h" struct bgp_zebra_opaque { - char aspath[ASPATH_STR_DEFAULT_LEN]; + char aspath[256]; /* Show at least 10 communities AA:BB */ char community[COMMUNITY_SIZE * 20];