summaryrefslogtreecommitdiff
path: root/interface-definitions/ntp.xml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-16 16:01:38 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-16 16:02:33 +0200
commitd4c10902026b76a6372cf738fc98860b29b39759 (patch)
treec8d3958d564f876b74e80f68727bbe5f02a57aed /interface-definitions/ntp.xml
parentbe6f809581ccbcd6411713128a63711eaa2ce6b7 (diff)
downloadvyos-1x-d4c10902026b76a6372cf738fc98860b29b39759.tar.gz
vyos-1x-d4c10902026b76a6372cf738fc98860b29b39759.zip
T644: remove prefixing from all scripts and update environment variables with VyOS paths.
Diffstat (limited to 'interface-definitions/ntp.xml')
-rw-r--r--interface-definitions/ntp.xml7
1 files changed, 2 insertions, 5 deletions
diff --git a/interface-definitions/ntp.xml b/interface-definitions/ntp.xml
index 311d61dbe..4688454c3 100644
--- a/interface-definitions/ntp.xml
+++ b/interface-definitions/ntp.xml
@@ -5,7 +5,7 @@
<interfaceDefinition>
<node name="system">
<children>
- <node name="ntp" owner="${vyos_sbindir}/vyos_config_ntp.py">
+ <node name="ntp" owner="${vyos_conf_scripts_dir}/ntp.py">
<properties>
<help>Network Time Protocol (NTP) configuration</help>
<priority>400</priority>
@@ -45,9 +45,6 @@
<node name="allow-clients">
<properties>
<help>Network Time Protocol (NTP) server options</help>
- <constraint>
- <validator name="ip-prefix"/>
- </constraint>
</properties>
<children>
<leafNode name="address">
@@ -63,7 +60,7 @@
</valueHelp>
<multi/>
<constraint>
- <validator name="ip-address"/>
+ <validator name="ip-prefix"/>
</constraint>
</properties>
</leafNode>