summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-01-28 17:01:02 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-01-28 17:01:02 -0200
commitf4a4bcbc4c45943bbd4734251a145f297a0502d9 (patch)
tree4e0fae0ae25c1a3ff65c8c2d85365e3da9310231
parentf71b440bf16ec3cd8164325f287d8c93b5dfd476 (diff)
downloadpfsense-f4a4bcbc4c45943bbd4734251a145f297a0502d9.zip
pfsense-f4a4bcbc4c45943bbd4734251a145f297a0502d9.tar.gz
Fix typo on variable name, it fixes #3414
-rw-r--r--etc/inc/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index cf04fc6..46b1b85 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -178,8 +178,8 @@ function get_searchdomains() {
// Read in dhclient nameservers
$search_list = glob("/var/etc/searchdomain_*");
- if (is_array($search_lists)) {
- foreach($search_lists as $fdns) {
+ if (is_array($search_list)) {
+ foreach($search_list as $fdns) {
$contents = file($fdns, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
if (!is_array($contents))
continue;
OpenPOWER on IntegriCloud