summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-04 22:28:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-04 22:28:58 +0000
commit0e1e018342dded560a24f7142f55cac35e32ae67 (patch)
tree6d6eedbd95829199e8dbffa165fbd26959d1a1ce /usr
parentb51ca9d0cb74ff01b00dc5bb76dfe4869e70b5e8 (diff)
downloadpfsense-0e1e018342dded560a24f7142f55cac35e32ae67.zip
pfsense-0e1e018342dded560a24f7142f55cac35e32ae67.tar.gz
Correctly detect when PPPoE server is enabled
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_rules.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index 1ebea22..1d83ac4 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -49,7 +49,7 @@ $iflist = array("lan" => "LAN", "wan" => "WAN");
if ($config['pptpd']['mode'] == "server")
$iflist['pptp'] = "PPTP VPN";
-if (isset($config['pppoe']['enable']))
+if ($config['pppoe']['mode'] == "server")
$iflist['pppoe'] = "PPPoE VPN";
/* add ipsec filter gif interfaces */
OpenPOWER on IntegriCloud