summaryrefslogtreecommitdiff
path: root/interface-definitions/ntp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-06 07:57:34 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-06 07:57:34 +0200
commit0ca6d38c846a2a04c43e79e6cf1ba65831979e2f (patch)
tree6c70df6e9c75cd60b59541369e7cf043f0880d17 /interface-definitions/ntp.xml.in
parent989d1f6a9603a8982647485162dfaa7c65e05f17 (diff)
downloadvyos-1x-0ca6d38c846a2a04c43e79e6cf1ba65831979e2f.tar.gz
vyos-1x-0ca6d38c846a2a04c43e79e6cf1ba65831979e2f.zip
xml: include: add common helper file for listen-address
Diffstat (limited to 'interface-definitions/ntp.xml.in')
-rw-r--r--interface-definitions/ntp.xml.in19
1 files changed, 1 insertions, 18 deletions
diff --git a/interface-definitions/ntp.xml.in b/interface-definitions/ntp.xml.in
index 485487a42..6070cafe0 100644
--- a/interface-definitions/ntp.xml.in
+++ b/interface-definitions/ntp.xml.in
@@ -58,24 +58,7 @@
</leafNode>
</children>
</node>
- <leafNode name="listen-address">
- <properties>
- <help>Addresses to listen for NTP queries</help>
- <valueHelp>
- <format>ipv4</format>
- <description>Network Time Protocol (NTP) IPv4 address</description>
- </valueHelp>
- <valueHelp>
- <format>ipv6</format>
- <description>Network Time Protocol (NTP) IPv6 address</description>
- </valueHelp>
- <multi/>
- <constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
- </constraint>
- </properties>
- </leafNode>
+ #include <include/listen-address.xml.i>
#include <include/interface-vrf.xml.i>
</children>
</node>