summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/route-distinguisher.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-04 14:51:19 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-04 14:51:19 +0100
commitf89d51293fb276fe64367b3019004c3e53a79821 (patch)
tree8fe7124471b6ce1836ef9ba453eca0502126fa5a /interface-definitions/include/bgp/route-distinguisher.xml.i
parent84b29c7c71af6663ef26dc40475cf4b0e5b179a6 (diff)
downloadvyos-1x-f89d51293fb276fe64367b3019004c3e53a79821.tar.gz
vyos-1x-f89d51293fb276fe64367b3019004c3e53a79821.zip
bgp: T4042: bugfix route-distinguisher value range
Diffstat (limited to 'interface-definitions/include/bgp/route-distinguisher.xml.i')
-rw-r--r--interface-definitions/include/bgp/route-distinguisher.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/bgp/route-distinguisher.xml.i b/interface-definitions/include/bgp/route-distinguisher.xml.i
index 6d0aa3ef1..8bc5b452e 100644
--- a/interface-definitions/include/bgp/route-distinguisher.xml.i
+++ b/interface-definitions/include/bgp/route-distinguisher.xml.i
@@ -7,7 +7,7 @@
<description>Route Distinguisher, (x.x.x.x:yyy|xxxx:yyyy)</description>
</valueHelp>
<constraint>
- <regex>^((25[0-5]|2[0-4][0-9]|[1][0-9][0-9]|[1-9][0-9]|[0-9]?)(\.(25[0-5]|2[0-4][0-9]|[1][0-9][0-9]|[1-9][0-9]|[0-9]?)){3}|[0-9]{1,10}):[0-9]{1,5}$</regex>
+ <validator name="bgp-rd-rt" argument="--route-distinguisher"/>
</constraint>
</properties>
</leafNode>