summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-08-07 11:56:37 +0200
committerChristian Poessinger <christian@poessinger.com>2019-08-07 11:58:17 +0200
commit5d9f2b33059bf314cb3e400139066e2024200c31 (patch)
tree4ec2be88b3fdce4710168659bafaec5070c92f10 /interface-definitions
parent445c615c4919e2b042c9f2f1b9b4a10194c23dd7 (diff)
downloadvyos-1x-5d9f2b33059bf314cb3e400139066e2024200c31.tar.gz
vyos-1x-5d9f2b33059bf314cb3e400139066e2024200c31.zip
Validator: rename cidr -> ip-cidr to match existing patterns
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-bridge.xml2
-rw-r--r--interface-definitions/interfaces-wireguard.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/interfaces-bridge.xml b/interface-definitions/interfaces-bridge.xml
index 93f374c80..d20582849 100644
--- a/interface-definitions/interfaces-bridge.xml
+++ b/interface-definitions/interfaces-bridge.xml
@@ -39,7 +39,7 @@
<description>Dynamic Host Configuration Protocol for IPv6</description>
</valueHelp>
<constraint>
- <validator name="cidr"/>
+ <validator name="ip-cidr"/>
<regex>(dhcp|dhcpv6)</regex>
</constraint>
<multi/>
diff --git a/interface-definitions/interfaces-wireguard.xml b/interface-definitions/interfaces-wireguard.xml
index c0102ea54..284a2e643 100644
--- a/interface-definitions/interfaces-wireguard.xml
+++ b/interface-definitions/interfaces-wireguard.xml
@@ -20,7 +20,7 @@
<properties>
<help>IP address</help>
<constraint>
- <validator name="cidr"/>
+ <validator name="ip-cidr"/>
</constraint>
<valueHelp>
<format>ipv4net</format>