From 2234d840262c054e4b48969f48d42f27bba6182c Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sat, 15 Nov 2014 21:45:49 +0100 Subject: [PATCH] inc: allow one-port setups for easier development A one-port setup is essentially WAN-only. The good thing is the GUI attaches to the WAN port and is automatically reachable. This helps with general testing of all things around builds. While there, append a whitespace that has been missing for years. --- etc/inc/config.console.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/etc/inc/config.console.inc b/etc/inc/config.console.inc index 474f4a045..ee2eb8fd1 100644 --- a/etc/inc/config.console.inc +++ b/etc/inc/config.console.inc @@ -224,8 +224,7 @@ EOD; } if($lanif == "") { - fclose($fp); - return; + break; } if ($lanif === "a") @@ -302,7 +301,7 @@ EOD; echo <<