diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2022-02-23 09:05:47 +0200 | 
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2022-02-25 10:02:30 +0200 | 
| commit | 9a706b42fb968795a9e2aeed53a2b164de846c77 (patch) | |
| tree | 361794995dc88698b00d9a834e1de33d89f4f930 /bgpd/bgp_debug.c | |
| parent | 2404cc8971f313687442ff4a8bcbcc513de5abcb (diff) | |
bgpd: Reuse get/set helpers for attr->community
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'bgpd/bgp_debug.c')
| -rw-r--r-- | bgpd/bgp_debug.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c index 82e05dc53a..5d14ff0fa6 100644 --- a/bgpd/bgp_debug.c +++ b/bgpd/bgp_debug.c @@ -411,7 +411,7 @@ bool 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, false)); +			 community_str(bgp_attr_get_community(attr), false));  	if (CHECK_FLAG(attr->flag, ATTR_FLAG_BIT(BGP_ATTR_LARGE_COMMUNITIES)))  		snprintf(buf + strlen(buf), size - strlen(buf),  | 
