mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
allow enabling Unbound when dnsmasq is enabled, if they're using diff
ports. Ticket #4332
This commit is contained in:
parent
7df02c1e87
commit
0fe628a62f
@ -110,7 +110,8 @@ if ($_POST) {
|
||||
system_dhcpleases_configure();
|
||||
} else {
|
||||
if (isset($_POST['enable']) && isset($config['dnsmasq']['enable'])) {
|
||||
$input_errors[] = "The DNS Forwarder is enabled. Disable it before enabling the DNS Resolver.";
|
||||
if ($_POST['port'] == $config['dnsmasq']['port'])
|
||||
$input_errors[] = "The DNS Forwarder is enabled using this port. Choose a non-conflicting port, or disable the DNS Forwarder.";
|
||||
}
|
||||
|
||||
if (empty($_POST['active_interface'])) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user