summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-04 16:21:16 +0100
committerChristian Breunig <christian@breunig.cc>2023-02-04 16:21:18 +0100
commit2622902ac76bc1c3356bb722f63e931119f3eb04 (patch)
tree6d1935e00da2c2c775e34dd3f1f28c54b47049bc
parent04288af4fcfa89427e8344790cb16942c06b77c5 (diff)
downloadvyos-1x-2622902ac76bc1c3356bb722f63e931119f3eb04.tar.gz
vyos-1x-2622902ac76bc1c3356bb722f63e931119f3eb04.zip
dhcp-relay: xml: T2408: fix CLI constraints
The old interface-name validator was replaced by a faster implementation in OCaml. Interface validator can be selected by including the appropriate code snippet.
-rw-r--r--interface-definitions/dhcp-relay.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/dhcp-relay.xml.in b/interface-definitions/dhcp-relay.xml.in
index f152a5b64..df2821881 100644
--- a/interface-definitions/dhcp-relay.xml.in
+++ b/interface-definitions/dhcp-relay.xml.in
@@ -21,7 +21,7 @@
<description>Interface name</description>
</valueHelp>
<constraint>
- <validator name="interface-name"/>
+ #include <include/constraint/interface-name.xml.in>
</constraint>
<multi/>
</properties>
@@ -37,7 +37,7 @@
<description>Interface name</description>
</valueHelp>
<constraint>
- <validator name="interface-name"/>
+ #include <include/constraint/interface-name.xml.in>
</constraint>
<multi/>
</properties>