diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2021-10-05 16:24:41 +0200 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2021-10-05 16:24:41 +0200 |
commit | 0d5b3cb9d72670deee6a48721615f98aa2493b4c (patch) | |
tree | 60d2c55a7bdbe9c9f280d706edd2849ebb2fc0cc /bgpd | |
parent | Merge pull request #9712 from idryzhov/travis-gprc (diff) | |
download | frr-0d5b3cb9d72670deee6a48721615f98aa2493b4c.tar.xz frr-0d5b3cb9d72670deee6a48721615f98aa2493b4c.zip |
bgpd: large community exact match fix
The pointer to large community was not the appropriate one.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_clist.c | 2 |
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)) |