diff options
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/vpn_ipsec.php | 2 | ||||
-rwxr-xr-x | usr/local/www/vpn_ipsec_mobile.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php index 4f154b7..9031e34 100755 --- a/usr/local/www/vpn_ipsec.php +++ b/usr/local/www/vpn_ipsec.php @@ -63,7 +63,7 @@ if ($_POST) { /* reload the filter in the background */ filter_configure(); $savemsg = get_std_save_message($retval); - if ($retval == 0) { + if ($retval >= 0) { if (is_subsystem_dirty('ipsec')) clear_subsystem_dirty('ipsec'); } diff --git a/usr/local/www/vpn_ipsec_mobile.php b/usr/local/www/vpn_ipsec_mobile.php index 4205af3..30927c2 100755 --- a/usr/local/www/vpn_ipsec_mobile.php +++ b/usr/local/www/vpn_ipsec_mobile.php @@ -112,7 +112,7 @@ if ($_POST['apply']) { $retval = 0; $retval = vpn_ipsec_configure(); $savemsg = get_std_save_message($retval); - if ($retval == 0) + if ($retval >= 0) if (is_subsystem_dirty('ipsec')) clear_subsystem_dirty('ipsec'); } |