summaryrefslogtreecommitdiff
path: root/bgpd/bgp_debug.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2017-11-21 20:41:39 +0800
committerGitHub <noreply@github.com>2017-11-21 20:41:39 +0800
commit02b5275b1712008a50182fc52b9f224f3cbca18c (patch)
tree35d1880213ac3153632ba3c59339f9d2a97a4f14 /bgpd/bgp_debug.c
parent133d8c61fff860ea396ec78c6f6458e5246283e7 (diff)
parent8cc845631720964071375b7c121c0c084f9f5564 (diff)
Merge pull request #1462 from donaldsharp/as_path_stuff
Json Stuff
Diffstat (limited to 'bgpd/bgp_debug.c')
-rw-r--r--bgpd/bgp_debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c
index 6e16d5f45b..45ac8e6859 100644
--- a/bgpd/bgp_debug.c
+++ b/bgpd/bgp_debug.c
@@ -385,7 +385,8 @@ int bgp_dump_attr(struct attr *attr, char *buf, size_t size)
if (CHECK_FLAG(attr->flag, ATTR_FLAG_BIT(BGP_ATTR_COMMUNITIES)))
snprintf(buf + strlen(buf), size - strlen(buf),
- ", community %s", community_str(attr->community));
+ ", community %s", community_str(attr->community,
+ false));
if (CHECK_FLAG(attr->flag, ATTR_FLAG_BIT(BGP_ATTR_EXT_COMMUNITIES)))
snprintf(buf + strlen(buf), size - strlen(buf),