]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Fixed typo in the lc list type being matched on
authorNigel Kukard <nkukard@lbsd.net>
Wed, 30 Aug 2017 07:44:18 +0000 (07:44 +0000)
committerNigel Kukard <nkukard@lbsd.net>
Thu, 31 Aug 2017 23:39:53 +0000 (23:39 +0000)
This should be EXPANDED, not STANDARD.

Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
bgpd/bgp_clist.c

index 13587b35993ad2cc00370243a057ba6b2509bb8c..ac7a09cde717ba63b84c93c7c5248cf9136d75f8 100644 (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) {