diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-05-14 03:20:49 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-05-14 03:20:49 +0200 |
commit | 32b6793b210505a2a69dc6f7615ddd5f66ad74b8 (patch) | |
tree | 834075333c5aaa0c7fc8c3cc29041eb685f6bdfd /interface-definitions/ntp.xml | |
parent | 9a6320744d21416d1f1eb3a3ba168cf54ef59727 (diff) | |
download | vyos-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.xml | 5 |
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> |