summaryrefslogtreecommitdiff
path: root/interface-definitions/ntp.xml
diff options
context:
space:
mode:
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>