summaryrefslogtreecommitdiff
path: root/interface-definitions/ntp.xml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-14 03:20:49 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-14 03:20:49 +0200
commit32b6793b210505a2a69dc6f7615ddd5f66ad74b8 (patch)
tree834075333c5aaa0c7fc8c3cc29041eb685f6bdfd /interface-definitions/ntp.xml
parent9a6320744d21416d1f1eb3a3ba168cf54ef59727 (diff)
downloadvyos-1x-32b6793b210505a2a69dc6f7615ddd5f66ad74b8.tar.gz
vyos-1x-32b6793b210505a2a69dc6f7615ddd5f66ad74b8.zip
T602: replace the now-gone type attribute with proper use of constraints in existing interface definitions.
Diffstat (limited to 'interface-definitions/ntp.xml')
-rw-r--r--interface-definitions/ntp.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/interface-definitions/ntp.xml b/interface-definitions/ntp.xml
index c756da611..c6fd8aa14 100644
--- a/interface-definitions/ntp.xml
+++ b/interface-definitions/ntp.xml
@@ -55,7 +55,10 @@
<description>IPv6 address and prefix length</description>
</valueHelp>
<multi/>
- <type>ipv4net,ipv6net</type>
+ <constraint>
+ <validator name="ipv4-address"/>
+ <validator name="ipv6-address"/>
+ </constraint>
</properties>
</leafNode>
</children>