diff options
-rw-r--r-- | interface-definitions/ntp.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/interface-definitions/ntp.xml b/interface-definitions/ntp.xml index d9930a262..e8cfc539c 100644 --- a/interface-definitions/ntp.xml +++ b/interface-definitions/ntp.xml @@ -45,6 +45,9 @@ <node name="allow-clients"> <properties> <help>Network Time Protocol (NTP) server options</help> + <constraint> + <validator name="ip-prefix"/> + </constraint> </properties> <children> <leafNode name="address"> @@ -60,8 +63,7 @@ </valueHelp> <multi/> <constraint> - <validator name="ipv4-address"/> - <validator name="ipv6-address"/> + <validator name="ip-address"/> </constraint> </properties> </leafNode> |