summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-08-06 17:32:36 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-08-06 17:32:36 -0600
commit601c73e0c6142d1b7398fdd1e8df69f12cdaf6cd (patch)
treeccf36dd280af843c893d7864efc63e19e694e412 /usr
parent22d0d529c9609e944c8705c4aff667f0f272c8bc (diff)
downloadpfsense-601c73e0c6142d1b7398fdd1e8df69f12cdaf6cd.zip
pfsense-601c73e0c6142d1b7398fdd1e8df69f12cdaf6cd.tar.gz
Mark the correct subsystems dirty when deleting port forwards with the X on their row so that the apply button shows up.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_nat.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php
index 9646f52..0cb0f86 100755
--- a/usr/local/www/firewall_nat.php
+++ b/usr/local/www/firewall_nat.php
@@ -86,10 +86,11 @@ if ($_GET['act'] == "del") {
if ($a_nat[$_GET['id']]) {
if (isset($a_nat[$_GET['id']]['associated-rule-id'])) {
delete_id($a_nat[$_GET['id']]['associated-rule-id'], $config['filter']['rule']);
+ mark_subsystem_dirty('filter');
}
unset($a_nat[$_GET['id']]);
write_config();
- mark_subsystem_dirty('nat');
+ mark_subsystem_dirty('natconf');
header("Location: firewall_nat.php");
exit;
}
OpenPOWER on IntegriCloud