summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-10-15 10:04:57 +0545
committerPhil Davis <phil.davis@inf.org>2014-10-15 10:04:57 +0545
commit5d49ceac8b7591f4db502eb4c2c52b37cc63e7ae (patch)
treebe6c4b2079db17cef99193f884bf80a9a2356678 /etc
parent8ff85c397c28042b42239e7ae4c0ed2f6554ebe9 (diff)
downloadpfsense-5d49ceac8b7591f4db502eb4c2c52b37cc63e7ae.zip
pfsense-5d49ceac8b7591f4db502eb4c2c52b37cc63e7ae.tar.gz
Fix #3935 Properly allow WAN without LAN
Was broken by https://github.com/pfsense/pfsense/commit/bd0b5d2dc7a279d3473a65a11d67efb5e39392be
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.console.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/config.console.inc b/etc/inc/config.console.inc
index 474f4a0..6c956fb 100644
--- a/etc/inc/config.console.inc
+++ b/etc/inc/config.console.inc
@@ -224,8 +224,8 @@ EOD;
}
if($lanif == "") {
- fclose($fp);
- return;
+ /* It is OK to have just a WAN, without a LAN so break if the user does not want LAN. */
+ break;
}
if ($lanif === "a")
OpenPOWER on IntegriCloud