summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/firewall_rules.php')
-rw-r--r--src/usr/local/www/firewall_rules.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php
index 188d8dc..55b6aef 100644
--- a/src/usr/local/www/firewall_rules.php
+++ b/src/usr/local/www/firewall_rules.php
@@ -174,12 +174,9 @@ if ($_POST) {
if ($_POST['apply']) {
$retval = 0;
- $retval = filter_configure();
+ $retval |= filter_configure();
clear_subsystem_dirty('filter');
-
- $savemsg = sprintf(gettext("The settings have been applied. The firewall rules are now reloading in the background.<br />%s Monitor %s the reload progress."),
- "<a href='status_filter_reload.php'>", "</a>");
}
}
@@ -331,6 +328,10 @@ if ($savemsg) {
print_info_box($savemsg, 'success');
}
+if ($_POST['apply']) {
+ print_apply_result_box($retval);
+}
+
if (is_subsystem_dirty('filter')) {
print_apply_box(gettext("The firewall rule configuration has been changed.") . "<br />" . gettext("The changes must be applied for them to take effect."));
}
OpenPOWER on IntegriCloud