summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/remote-as.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/bgp/remote-as.xml.i')
-rw-r--r--interface-definitions/include/bgp/remote-as.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/bgp/remote-as.xml.i b/interface-definitions/include/bgp/remote-as.xml.i
index 11eb7c256..58595b3b9 100644
--- a/interface-definitions/include/bgp/remote-as.xml.i
+++ b/interface-definitions/include/bgp/remote-as.xml.i
@@ -19,7 +19,7 @@
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-4294967294"/>
- <regex>^(external|internal)$</regex>
+ <regex>(external|internal)</regex>
</constraint>
<constraintErrorMessage>Invalid AS number</constraintErrorMessage>
</properties>