summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-17 17:44:06 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-17 17:44:41 +0200
commit8155f959b8976133b4723529f28cbad75d24596f (patch)
tree4f148a998d44b7f32ddc57e868de74a25de7f218 /interface-definitions
parent359f0c97f0e6d75f0b5065811efe9ea3eacb5a37 (diff)
downloadvyos-1x-8155f959b8976133b4723529f28cbad75d24596f.tar.gz
vyos-1x-8155f959b8976133b4723529f28cbad75d24596f.zip
policy: T2425: bgp ext-community-list name also supports - and _
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 b5ea2058a..cce4186ff 100644
--- a/interface-definitions/policy.xml.in
+++ b/interface-definitions/policy.xml.in
@@ -242,7 +242,7 @@
<description>BGP extended 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>