summaryrefslogtreecommitdiff
path: root/interface-definitions/ntp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-04 20:23:27 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-04 20:23:27 +0200
commit6732df1edd632b56d3d02970939f51d05d4262e9 (patch)
treec79a000f0b75334cbf9fb4e30056ac6f1b0693a3 /interface-definitions/ntp.xml.in
parent6bcb2b15babbb2a580439aad2463b1b18d5508a9 (diff)
downloadvyos-1x-6732df1edd632b56d3d02970939f51d05d4262e9.tar.gz
vyos-1x-6732df1edd632b56d3d02970939f51d05d4262e9.zip
ntp: T4456: support listening on specified interface
When clients only use DHCP for interface addressing we can not bind NTPd to an address - as it will fail if the address changes. This commit adds support to bind ntpd to a given interface in addition to a given address. set system ntp interface <name>
Diffstat (limited to 'interface-definitions/ntp.xml.in')
-rw-r--r--interface-definitions/ntp.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/ntp.xml.in b/interface-definitions/ntp.xml.in
index a518a9def..85636a50f 100644
--- a/interface-definitions/ntp.xml.in
+++ b/interface-definitions/ntp.xml.in
@@ -81,6 +81,7 @@
</leafNode>
</children>
</node>
+ #include <include/generic-interface-multi.xml.i>
#include <include/listen-address.xml.i>
#include <include/interface/vrf.xml.i>
</children>