mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
dnsmasq: since this was always based on a hardwired /etc/hosts...
The regdhcp conditional option never really worked in the first place. Dhcplease registration is controlled by regdhcp and regdhcpstatic elsewhere already and we always need to include this file. PR: https://forum.opnsense.org/index.php?topic=4041
This commit is contained in:
parent
cd6cdba1bf
commit
f31e556078
@ -85,11 +85,7 @@ function dnsmasq_configure_do($verbose = false)
|
||||
flush();
|
||||
}
|
||||
|
||||
$args = "";
|
||||
|
||||
if (isset($config['dnsmasq']['regdhcp'])) {
|
||||
$args .= " -H /var/etc/dnsmasq-hosts ";
|
||||
}
|
||||
$args = ' -H /var/etc/dnsmasq-hosts ';
|
||||
|
||||
/* Setup listen port, if non-default */
|
||||
if (isset($config['dnsmasq']['port']) && is_port($config['dnsmasq']['port'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user