From: Nigel Kukard Date: Wed, 30 Aug 2017 07:44:18 +0000 (+0000) Subject: bgpd: Fixed typo in the lc list type being matched on X-Git-Tag: frr-4.0-dev~348^2~11 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=cde8d696e066ab52507ba0d48fc9a906348f0d04;p=mirror%2Ffrr.git bgpd: Fixed typo in the lc list type being matched on This should be EXPANDED, not STANDARD. Signed-off-by: Nigel Kukard --- diff --git a/bgpd/bgp_clist.c b/bgpd/bgp_clist.c index 13587b3599..ac7a09cde7 100644 --- a/bgpd/bgp_clist.c +++ b/bgpd/bgp_clist.c @@ -930,7 +930,7 @@ struct lcommunity *lcommunity_list_match_delete(struct lcommunity *lcom, break; } - else if ((entry->style == LARGE_COMMUNITY_LIST_STANDARD) + else if ((entry->style == LARGE_COMMUNITY_LIST_EXPANDED) && lcommunity_regexp_include(entry->reg, lcom, i)) { if (entry->direct == COMMUNITY_PERMIT) {