summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-11-03 14:12:05 +0545
committerRenato Botelho <garga@FreeBSD.org>2014-11-05 07:06:44 -0200
commit798d8644d63efa74dbabb69758e91cfb90189122 (patch)
treeceb7e9a8b0e3faa54ad8fd7bf49c381f6d07f128
parent5711c44624369418de79fff3d81a4c7972fe8d8f (diff)
downloadpfsense-798d8644d63efa74dbabb69758e91cfb90189122.zip
pfsense-798d8644d63efa74dbabb69758e91cfb90189122.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-xetc/rc.initial.setlanip2
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";
OpenPOWER on IntegriCloud