summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-01-31 16:06:20 -0500
committerjim-p <jimp@pfsense.org>2011-01-31 16:06:20 -0500
commit20fef17c7398170e18c9d03bcc04ee794002e981 (patch)
tree6d3b8799456c28c8ee16204df240dba3ccfe6750 /usr
parent5ded8bab169514e6c3ba0a58da6a00a9b4cc1689 (diff)
downloadpfsense-20fef17c7398170e18c9d03bcc04ee794002e981.zip
pfsense-20fef17c7398170e18c9d03bcc04ee794002e981.tar.gz
Show PPPoE tab if any of the PPPoE server instances are enabled. Fixes #1243
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_rules.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index a0b34b4..b5a1ce0 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -162,9 +162,9 @@ if ($config['pptpd']['mode'] == "server")
if(have_ruleint_access("pptp"))
$iflist['pptp'] = "PPTP VPN";
-if ($config['pppoe']['mode'] == "server")
- if(have_ruleint_access("pppoe"))
- $iflist['pppoe'] = "PPPoE VPN";
+foreach ($config['pppoes']['pppoe'] as $pppoes)
+ if (($pppoes['mode'] == 'server') && have_ruleint_access("pppoe"))
+ $iflist['pppoe'] = "PPPoE Server";
/* add ipsec interfaces */
if (isset($config['ipsec']['enable']) || isset($config['ipsec']['mobileclients']['enable']))
OpenPOWER on IntegriCloud