mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
don't blow away previous contents of this variable. fixes #4022
This commit is contained in:
parent
14f7afb1a2
commit
97383d2bda
@ -159,7 +159,7 @@ function system_resolvconf_generate($dynupdate = false) {
|
||||
} else {
|
||||
// Do not create blank search/domain lines, it can break tools like dig.
|
||||
if($syscfg['domain'])
|
||||
$resolvconf = "search {$syscfg['domain']}\n";
|
||||
$resolvconf .= "search {$syscfg['domain']}\n";
|
||||
}
|
||||
if (is_array($syscfg['dnsserver'])) {
|
||||
foreach ($syscfg['dnsserver'] as $ns) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user