summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-05-05 00:46:30 +0300
committerGitHub <noreply@github.com>2021-05-05 00:46:30 +0300
commitd236114b13a3122d77b17d5491c4aa4f9eea71ff (patch)
tree62e64e1ee9968e5c684f415c37b12247fadf05bd
parentbc79672d3ef80eac67abc5f1d96fc6e8e125d062 (diff)
parenta9f42ac2e349694cb5384f80c8a0981b62e018c7 (diff)
Merge pull request #8618 from Prerana-GB/lcom
bgpd: BGP large community-list configuration with regex is failing.
-rw-r--r--bgpd/bgp_clist.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bgpd/bgp_clist.c b/bgpd/bgp_clist.c
index e17cce3ff6..50122ad7da 100644
--- a/bgpd/bgp_clist.c
+++ b/bgpd/bgp_clist.c
@@ -1117,9 +1117,6 @@ int lcommunity_list_set(struct community_list_handler *ch, const char *name,
}
if (str) {
- if (!lcommunity_list_valid(str, style))
- return COMMUNITY_LIST_ERR_MALFORMED_VAL;
-
if (style == LARGE_COMMUNITY_LIST_STANDARD)
lcom = lcommunity_str2com(str);
else