From cde8d696e066ab52507ba0d48fc9a906348f0d04 Mon Sep 17 00:00:00 2001 From: Nigel Kukard Date: Wed, 30 Aug 2017 07:44:18 +0000 Subject: [PATCH] bgpd: Fixed typo in the lc list type being matched on This should be EXPANDED, not STANDARD. Signed-off-by: Nigel Kukard --- bgpd/bgp_clist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5