summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/firewall_nat.php')
-rwxr-xr-xusr/local/www/firewall_nat.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php
index 386f3b8..ee1c83a 100755
--- a/usr/local/www/firewall_nat.php
+++ b/usr/local/www/firewall_nat.php
@@ -50,7 +50,10 @@ if ($_POST) {
$retval |= filter_configure();
config_unlock();
}
- $savemsg = get_std_save_message($retval);
+ if($retval == 0)
+ $savemsg = get_std_save_message($retval);
+ else
+ $savemsg = $retval;
if ($retval == 0) {
if (file_exists($d_natconfdirty_path))
OpenPOWER on IntegriCloud