diff --git a/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c index eff6f0f81a..20f5e15d69 100644 --- a/bgpd/bgp_ecommunity.c +++ b/bgpd/bgp_ecommunity.c @@ -644,7 +644,7 @@ char *ecommunity_ecom2str(struct ecommunity *ecom, int format, int filter) uint8_t *pnt; uint8_t type = 0; uint8_t sub_type = 0; -#define ECOMMUNITY_STR_DEFAULT_LEN 27 +#define ECOMMUNITY_STR_DEFAULT_LEN 64 int str_size; int str_pnt; char *str_buf;