From 4e4f28bf09fe39197376a48fabd457bae67ebb3b Mon Sep 17 00:00:00 2001 From: doktornotor <1075960+doktornotor@users.noreply.github.com> Date: Sat, 16 Dec 2023 20:03:50 +0100 Subject: [PATCH] Make the GUI interfaces selection actually honored by ntpd Without the "interface ignore wildcard" directive, the service still listens on wildcard. --- src/etc/inc/plugins.inc.d/ntpd.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/etc/inc/plugins.inc.d/ntpd.inc b/src/etc/inc/plugins.inc.d/ntpd.inc index 8c09588f6..3186e91ff 100644 --- a/src/etc/inc/plugins.inc.d/ntpd.inc +++ b/src/etc/inc/plugins.inc.d/ntpd.inc @@ -427,6 +427,7 @@ function ntpd_configure_do($verbose = false) if (is_array($interfaces) && count($interfaces)) { $ntpcfg .= "interface ignore all\n"; + $ntpcfg .= "interface ignore wildcard\n"; foreach ($interfaces as $interface) { if (!is_ipaddr($interface)) { $interface = get_real_interface($interface);