diff options
author | Phil Davis <phil.davis@inf.org> | 2014-11-03 14:12:05 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2014-11-03 14:12:05 +0545 |
commit | 4c3abd34000f247f26dce24add11a9a8dedb09dc (patch) | |
tree | c12b4b5c3a36d0714a12ee6691d61eba3f21d30b | |
parent | 935fcedbca2dbe8c3d9eb41bc5739b511a9ec19a (diff) | |
download | pfsense-4c3abd34000f247f26dce24add11a9a8dedb09dc.zip pfsense-4c3abd34000f247f26dce24add11a9a8dedb09dc.tar.gz |
Fix obviously broken test in rc.initial.setlanip
IMO might as well back-port any obviously wrong code to 2.1 branch, just in case anybody on 2.1.n cares for it or there is a need for another 2.1.n release.
-rwxr-xr-x | etc/rc.initial.setlanip | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip index 8b3a820..f46e289 100755 --- a/etc/rc.initial.setlanip +++ b/etc/rc.initial.setlanip @@ -496,7 +496,7 @@ if ($intip6 != '') { } if ($intip != '' || $intip6 != '') { - if (count($ifdescrs) == "1" or $interface = "lan") { + if (count($ifdescrs) == "1" or $interface == "lan") { if ($debug) { echo "ifdescrs count is " . count($ifdescrs) . "\n"; echo "interface is {$interface} \n"; |