summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-31 23:08:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-31 23:08:52 +0000
commit0c554ff6e197d2d1842753a55d193ba3efcf158a (patch)
tree9468dc220c351ce700c9df85571791fae0b0e74b /usr/local
parenta10b16adc131e89792026926fb81c4372487e114 (diff)
downloadpfsense-0c554ff6e197d2d1842753a55d193ba3efcf158a.zip
pfsense-0c554ff6e197d2d1842753a55d193ba3efcf158a.tar.gz
Add PPPoE to interface list
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_rules.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index fd0593d..ec65622 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -48,6 +48,9 @@ $iflist = array("lan" => "LAN", "wan" => "WAN");
if ($config['pptpd']['mode'] == "server")
$iflist['pptp'] = "PPTP VPN";
+if ($config['pppoe']['mode'] == "server")
+ $iflist['pppoe'] = "PPPoE VPN";
+
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
$iflist['opt' . $i] = $config['interfaces']['opt' . $i]['descr'];
}
OpenPOWER on IntegriCloud