mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Unbound and dnsmasq can both be enabled so restart both if need be
This commit is contained in:
parent
e02a275617
commit
1a444f88e5
@ -1204,10 +1204,11 @@ function interfaces_configure() {
|
||||
/* reload dhcpd (interface enabled/disabled status may have changed) */
|
||||
services_dhcpd_configure();
|
||||
|
||||
/* restart dnsmasq or unbound */
|
||||
if (isset($config['dnsmasq']['enable'])) {
|
||||
services_dnsmasq_configure();
|
||||
} elseif (isset($config['unbound']['enable'])) {
|
||||
}
|
||||
|
||||
if (isset($config['unbound']['enable'])) {
|
||||
services_unbound_configure();
|
||||
}
|
||||
}
|
||||
@ -3469,10 +3470,11 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
|
||||
/* reload ipsec tunnels */
|
||||
send_event("service reload ipsecdns");
|
||||
|
||||
/* restart dnsmasq or unbound */
|
||||
if (isset($config['dnsmasq']['enable'])) {
|
||||
services_dnsmasq_configure();
|
||||
} elseif (isset($config['unbound']['enable'])) {
|
||||
}
|
||||
|
||||
if (isset($config['unbound']['enable'])) {
|
||||
services_unbound_configure();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user