summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <Jafaral@users.noreply.github.com>2021-10-05 21:30:45 +0200
committerGitHub <noreply@github.com>2021-10-05 21:30:45 +0200
commitf72b987de1d4897919902b96559c8fd4da58b366 (patch)
treebd91af2da70ae17405ea13597755a3d087c372e3
parentMerge pull request #9711 from idryzhov/doc-ospf (diff)
parentbgpd: large community exact match fix (diff)
downloadfrr-f72b987de1d4897919902b96559c8fd4da58b366.tar.xz
frr-f72b987de1d4897919902b96559c8fd4da58b366.zip
Merge pull request #9743 from pguibert6WIND/largecommfrr-8.1-rc1base_8.1
bgpd: large community exact match fix
-rw-r--r--bgpd/bgp_clist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_clist.c b/bgpd/bgp_clist.c
index 33e3db2c1..0e590a463 100644
--- a/bgpd/bgp_clist.c
+++ b/bgpd/bgp_clist.c
@@ -720,7 +720,7 @@ bool lcommunity_list_exact_match(struct lcommunity *lcom,
return entry->direct == COMMUNITY_PERMIT;
if (entry->style == LARGE_COMMUNITY_LIST_STANDARD) {
- if (lcommunity_cmp(lcom, entry->u.com))
+ if (lcommunity_cmp(lcom, entry->u.lcom))
return entry->direct == COMMUNITY_PERMIT;
} else if (entry->style == LARGE_COMMUNITY_LIST_EXPANDED) {
if (lcommunity_regexp_match(lcom, entry->reg))