diff options
Diffstat (limited to 'usr/local/www/firewall_nat.php')
-rwxr-xr-x | usr/local/www/firewall_nat.php | 5 |
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)) |