diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip index 8b3a820149..f46e2895bd 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";