summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-28 00:50:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-28 00:50:55 +0000
commitb2f2e120f92aaf646ec88284e9bb184a7547c92c (patch)
tree336c0f3f256c97bf99c674f243d6ca173b56b48b
parentf37eff5ef999a0e9a1bb140338070170d9804089 (diff)
downloadpfsense-b2f2e120f92aaf646ec88284e9bb184a7547c92c.zip
pfsense-b2f2e120f92aaf646ec88284e9bb184a7547c92c.tar.gz
Revert to 1.2b9 system_resolvconf_generate()
We never have gotten this correct.
-rw-r--r--etc/inc/system.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index e0d6dfb..abac423 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -63,10 +63,9 @@ function system_resolvconf_generate($dynupdate = false) {
}
if (!$havedns && is_array($syscfg['dnsserver'])) {
foreach ($syscfg['dnsserver'] as $ns) {
- if ($ns) {
+ if ($ns)
$resolvconf .= "nameserver $ns\n";
- $havedns = true;
- }
+ $havedns = true;
}
}
OpenPOWER on IntegriCloud