bgpd: Fixed typo in the lc list type being matched on

This should be EXPANDED, not STANDARD.

Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
This commit is contained in:
Nigel Kukard 2017-08-30 07:44:18 +00:00
parent 79dab4b7f4
commit cde8d696e0

View File

@ -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) {