]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: use longer aspath string in opaque data
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 6 Aug 2021 14:06:39 +0000 (17:06 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 6 Aug 2021 14:06:39 +0000 (17:06 +0300)
32 bytes are not enough to carry relatively long AS paths so let's make
the buffer larger.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/route_opaque.h

index 599a0363eb2c94c2d26dea47ffc9e63332ad6234..fd4e3d589159f96779a8a90617362ba49703a9c2 100644 (file)
@@ -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];