summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-07-11 21:57:01 -0500
committerChris Buechler <cmb@pfsense.org>2016-07-11 21:57:01 -0500
commit5a9c3449a8ba187d2b0959eacccdabb13ca05dd4 (patch)
tree353d28447cff19c82eb2bee1cdd954cdfab09d5d /src/usr
parentee9fb7bc7017a49fe4b78568fee4a1ca804b2063 (diff)
downloadpfsense-5a9c3449a8ba187d2b0959eacccdabb13ca05dd4.zip
pfsense-5a9c3449a8ba187d2b0959eacccdabb13ca05dd4.tar.gz
write_config before openvpn_resync here as well. Ticket #6139
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/vpn_openvpn_client.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/vpn_openvpn_client.php b/src/usr/local/www/vpn_openvpn_client.php
index 8f110c4..21d44cb 100644
--- a/src/usr/local/www/vpn_openvpn_client.php
+++ b/src/usr/local/www/vpn_openvpn_client.php
@@ -415,8 +415,8 @@ if ($_POST) {
$a_client[] = $client;
}
- openvpn_resync('client', $client);
write_config();
+ openvpn_resync('client', $client);
header("Location: vpn_openvpn_client.php");
exit;
OpenPOWER on IntegriCloud