summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/system_routes.php')
-rw-r--r--src/usr/local/www/system_routes.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/usr/local/www/system_routes.php b/src/usr/local/www/system_routes.php
index b4ba86e..9cf3d7e 100644
--- a/src/usr/local/www/system_routes.php
+++ b/src/usr/local/www/system_routes.php
@@ -61,12 +61,11 @@ if ($_POST) {
@unlink("{$g['tmp_path']}/.system_routes.apply");
}
- $retval = system_routing_configure();
+ $retval |= system_routing_configure();
$retval |= filter_configure();
/* reconfigure our gateway monitor */
setup_gateways_monitor();
- $savemsg = get_std_save_message($retval);
if ($retval == 0) {
clear_subsystem_dirty('staticroutes');
}
@@ -219,8 +218,8 @@ include("head.inc");
if ($input_errors) {
print_input_errors($input_errors);
}
-if ($savemsg) {
- print_info_box($savemsg, 'success');
+if ($_POST['apply']) {
+ print_apply_result_box($retval);
}
if (is_subsystem_dirty('staticroutes')) {
print_apply_box(gettext("The static route configuration has been changed.") . "<br />" . gettext("The changes must be applied for them to take effect."));
OpenPOWER on IntegriCloud