summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-04 22:03:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-04 22:03:46 +0000
commitb51ca9d0cb74ff01b00dc5bb76dfe4869e70b5e8 (patch)
tree2562097a8793be1420613da05b9c2292a30ed9c7 /usr/local/www/firewall_nat_edit.php
parent583cb3fe42e44bb6395aebfea02c4f158621a422 (diff)
downloadpfsense-b51ca9d0cb74ff01b00dc5bb76dfe4869e70b5e8.zip
pfsense-b51ca9d0cb74ff01b00dc5bb76dfe4869e70b5e8.tar.gz
Add PPPOE options.
Diffstat (limited to 'usr/local/www/firewall_nat_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_edit.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php
index 26bdb1a..dd800fb 100755
--- a/usr/local/www/firewall_nat_edit.php
+++ b/usr/local/www/firewall_nat_edit.php
@@ -222,6 +222,8 @@ if ($_POST) {
$config['filter']['rule'][] = $filterent;
+ touch($d_filterconfdirty_path);
+
write_config();
header("Location: firewall_nat.php?savemsg=The%20changes%20have%20been%20saved.%20%20Please%20note%20that%20we%20have%20added%20an%20additional%20rule%20for%20the%20FTP%20helper.");
@@ -257,7 +259,7 @@ include("fbegin.inc"); ?>
<td width="78%" class="vtable">
<select name="interface" class="formfld">
<?php
- $interfaces = array('wan' => 'WAN', 'lan' => 'LAN', 'pptp' => 'PPTP');
+ $interfaces = array('wan' => 'WAN', 'lan' => 'LAN', 'pptp' => 'PPTP', 'pppoe' => 'PPPOE');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
$interfaces['opt' . $i] = $config['interfaces']['opt' . $i]['descr'];
}
OpenPOWER on IntegriCloud