Project

General

Profile

« Previous | Next » 

Revision 4c3abd34

Added by Phil Davis over 10 years ago

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.

View differences:

etc/rc.initial.setlanip
496 496
}
497 497

  
498 498
if ($intip != '' || $intip6 != '') {
499
	if (count($ifdescrs) == "1" or $interface = "lan") {
499
	if (count($ifdescrs) == "1" or $interface == "lan") {
500 500
		if ($debug) {
501 501
			echo "ifdescrs count is " . count($ifdescrs) . "\n";
502 502
			echo "interface is {$interface} \n";

Also available in: Unified diff