Project

General

Profile

« Previous | Next » 

Revision 72f1d372

Added by Scott Ullrich over 17 years ago

Do not show LAN interface when it is not present.

View differences:

usr/local/www/firewall_rules.php
46 46

  
47 47
$iflist = array();
48 48

  
49
if(have_ruleint_access("lan")) 
50
	$iflist['lan'] = "LAN";
49
if($config['interfaces']['lan']) 
50
	if(have_ruleint_access("lan")) 
51
		$iflist['lan'] = "LAN";
52

  
51 53
if(have_ruleint_access("wan")) 
52 54
	$iflist['wan'] = "WAN";
53 55

  

Also available in: Unified diff