From 2aab1a726a2083e943df1f6c4200e1ba30b50f33 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 4 Jul 2022 20:23:27 +0200 Subject: 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 (cherry picked from commit 6732df1edd632b56d3d02970939f51d05d4262e9) --- .../include/generic-interface-multi.xml.i | 18 ++++++++++++++++++ interface-definitions/ntp.xml.in | 1 + 2 files changed, 19 insertions(+) create mode 100644 interface-definitions/include/generic-interface-multi.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/generic-interface-multi.xml.i b/interface-definitions/include/generic-interface-multi.xml.i new file mode 100644 index 000000000..65aae28ae --- /dev/null +++ b/interface-definitions/include/generic-interface-multi.xml.i @@ -0,0 +1,18 @@ + + + + Interface to use + + + + + txt + Interface name + + + + + + + + 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 @@ + #include #include #include -- cgit v1.2.3