diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-04 21:18:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-04 21:18:19 +0000 |
commit | 514dbaf8f0538e48ec1c60fde8d72d7ae18cd4ce (patch) | |
tree | 692543eb1db0d10c16c760e50a895dd35a1a06e7 /usr/local/www/firewall_nat_edit.php | |
parent | 801d50beb81abd8aae7392f727765369cd4179d6 (diff) | |
download | pfsense-514dbaf8f0538e48ec1c60fde8d72d7ae18cd4ce.zip pfsense-514dbaf8f0538e48ec1c60fde8d72d7ae18cd4ce.tar.gz |
When adding a redirect for FTP alert the user that it really creates 2 firewall rules
Ticket #899
Diffstat (limited to 'usr/local/www/firewall_nat_edit.php')
-rwxr-xr-x | usr/local/www/firewall_nat_edit.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php index de64ca0..80fab33 100755 --- a/usr/local/www/firewall_nat_edit.php +++ b/usr/local/www/firewall_nat_edit.php @@ -222,6 +222,14 @@ 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."); + + exit; + } touch($d_filterconfdirty_path); |