summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/policy.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in
index cce4186ff..ce190b046 100644
--- a/interface-definitions/policy.xml.in
+++ b/interface-definitions/policy.xml.in
@@ -291,7 +291,7 @@
<description>BGP large-community-list name</description>
</valueHelp>
<constraint>
- <regex>^[a-zA-Z0-9]+$</regex>
+ <regex>^[-_a-zA-Z0-9]+$</regex>
</constraint>
<constraintErrorMessage>Should be an alphanumeric name</constraintErrorMessage>
</properties>