From 601c73e0c6142d1b7398fdd1e8df69f12cdaf6cd Mon Sep 17 00:00:00 2001 From: Erik Fonnesbeck Date: Fri, 6 Aug 2010 17:32:36 -0600 Subject: Mark the correct subsystems dirty when deleting port forwards with the X on their row so that the apply button shows up. --- usr/local/www/firewall_nat.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.1