mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 04:40:21 +00:00
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>
This commit is contained in:
parent
d0bf22a10b
commit
0d5b3cb9d7
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user