From 5d49ceac8b7591f4db502eb4c2c52b37cc63e7ae Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 15 Oct 2014 10:04:57 +0545 Subject: Fix #3935 Properly allow WAN without LAN Was broken by https://github.com/pfsense/pfsense/commit/bd0b5d2dc7a279d3473a65a11d67efb5e39392be --- etc/inc/config.console.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') 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") -- cgit v1.1