summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-10 23:01:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-10 23:01:36 +0000
commit05c8cc7bf26f451a09bb269107d069a7d30c5fac (patch)
treea15fe0a0054bc337c92cff51f75d3793f957b2f5
parent9ee93e3d215a4c62f0eb1803596a94b598d6199f (diff)
downloadpfsense-05c8cc7bf26f451a09bb269107d069a7d30c5fac.zip
pfsense-05c8cc7bf26f451a09bb269107d069a7d30c5fac.tar.gz
Revert previous commit, the fix was in system.cin
-rw-r--r--etc/inc/pfsense-utils.inc6
1 files changed, 0 insertions, 6 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 6351727..6417324 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -53,12 +53,6 @@ function get_dns_servers() {
if (preg_match("/nameserver (.*)/", $dns, $matches))
$dns_servers[] = $matches[1];
}
- if(!file_exists("/var/etc/nameservers.conf"))
- return $dns_servers;
- $dns = `cat /var/etc/nameservers.conf`;
- $dns_s = split("\n", $dns);
- foreach($dns_s as $dns)
- $dns_servers[] = $dns;
return $dns_servers;
}
OpenPOWER on IntegriCloud