diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-01-28 17:01:02 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-01-28 17:01:02 -0200 |
commit | f4a4bcbc4c45943bbd4734251a145f297a0502d9 (patch) | |
tree | 4e0fae0ae25c1a3ff65c8c2d85365e3da9310231 /etc/inc/system.inc | |
parent | f71b440bf16ec3cd8164325f287d8c93b5dfd476 (diff) | |
download | pfsense-f4a4bcbc4c45943bbd4734251a145f297a0502d9.zip pfsense-f4a4bcbc4c45943bbd4734251a145f297a0502d9.tar.gz |
Fix typo on variable name, it fixes #3414
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 4 |
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; |