summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-08-12 13:33:19 -0400
committerjim-p <jimp@pfsense.org>2010-08-12 13:33:19 -0400
commit9fad9848c9353b9a21402634a537ae74bd976354 (patch)
treecc775bc0fbe130d234fb0760da86fea3d957d821 /usr/local/www/vpn_ipsec.php
parent1b1c179da72d7d5916eefdd2095d8d752a9df4d1 (diff)
downloadpfsense-9fad9848c9353b9a21402634a537ae74bd976354.zip
pfsense-9fad9848c9353b9a21402634a537ae74bd976354.tar.gz
Reorder this, otherwise the function doesn't pick up on the config change.
Diffstat (limited to 'usr/local/www/vpn_ipsec.php')
-rwxr-xr-xusr/local/www/vpn_ipsec.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index 9f2e97e..ee3e13c 100755
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -74,8 +74,9 @@ if ($_POST) {
$config['ipsec']['enable'] = $_POST['enable'] ? true : false;
- $retval = vpn_ipsec_configure();
write_config();
+
+ $retval = vpn_ipsec_configure();
}
}
OpenPOWER on IntegriCloud