mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
Make the GUI interfaces selection actually honored by ntpd
Without the "interface ignore wildcard" directive, the service still listens on wildcard.
This commit is contained in:
parent
35548cee4f
commit
4e4f28bf09
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user