summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-05 19:29:56 +0000
committerBill Marquette <billm@pfsense.org>2005-03-05 19:29:56 +0000
commite8c2c8902f0fcdcc5c74133f5949fdd5378bb226 (patch)
treeb862b0809391a48874ab1ce6a6c62e689d241ced /usr/local/www/firewall_nat_out.php
parentbac92999551c0b7051d3a2109f73bd469f08253b (diff)
downloadpfsense-e8c2c8902f0fcdcc5c74133f5949fdd5378bb226.zip
pfsense-e8c2c8902f0fcdcc5c74133f5949fdd5378bb226.tar.gz
whitespace cleanup
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-rwxr-xr-xusr/local/www/firewall_nat_out.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index 721bc3a..b9ed904 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -51,10 +51,13 @@ if ($_POST) {
if (!file_exists($d_sysrebootreqd_path)) {
config_lock();
- $retval |= filter_configure();
- config_unlock();
+ $retval |= filter_configure();
+ config_unlock();
}
- $savemsg = get_std_save_message($retval);
+ if(stristr($retval, "error") <> true)
+ $savemsg = get_std_save_message($retval);
+ else
+ $savemsg = $retval;
if ($retval == 0) {
if (file_exists($d_natconfdirty_path))
OpenPOWER on IntegriCloud