diff options
author | Phil Davis <phil.davis@inf.org> | 2015-03-28 20:01:07 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-03-28 20:01:07 +0545 |
commit | 14a6c356f1c080016457a758a8fefc5ef8d0d0ef (patch) | |
tree | 5dafc4aaa6e13f616886f0f9dcaefa9ed17948a1 /etc/inc | |
parent | 56effb561d1b3cfa028151aaa639fd1751b46ecc (diff) | |
download | pfsense-14a6c356f1c080016457a758a8fefc5ef8d0d0ef.zip pfsense-14a6c356f1c080016457a758a8fefc5ef8d0d0ef.tar.gz |
Fix brackets
that I broke - sorry, I did test on a 2.2.1 system but then had to make my changes into a master version to submit the pull request. Obviously I missed this!
Chris noticed it it 2.2-RELENG branch already with commit https://github.com/pfsense/pfsense/commit/e593bac7e025eaec50e2591557c76fe27c254b32
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 395715d..08212e6 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -184,7 +184,7 @@ function system_resolvconf_generate($dynupdate = false) { } if (is_array($syscfg['dnsserver'])) { foreach ($syscfg['dnsserver'] as $sys_dnsserver) { - if ($sys_dnsserver && (!in_array($sys_dnsserver, $ns)) { + if ($sys_dnsserver && (!in_array($sys_dnsserver, $ns))) { $resolvconf .= "nameserver $sys_dnsserver\n"; } } |