summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-09-23 18:51:02 +0000
committerErmal Luçi <eri@pfsense.org>2008-09-23 18:51:02 +0000
commitdf1fc19892c7be5cf34a22cb1de36290db9b6c02 (patch)
tree1f8370257266024d72667d45ccf34aa778988ea4 /etc
parentbd33ee5732f5ac73e0143265d762ae4940334e9c (diff)
downloadpfsense-df1fc19892c7be5cf34a22cb1de36290db9b6c02.zip
pfsense-df1fc19892c7be5cf34a22cb1de36290db9b6c02.tar.gz
Correct check if we are running with only one interface. LAN ca be deleted without problems with the new interface code.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 7c251cd..ca670f7 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2227,7 +2227,7 @@ EOD;
if (!isset($config['system']['webgui']['noantilockout'])) {
- if($config['interfaces']['lan']) {
+ if (count($config['interfaces']) > 1) {
/* if antilockout is enabled, LAN exists and has
an IP and subnet mask assigned */
$lanif = get_real_wan_interface("lan");
OpenPOWER on IntegriCloud