summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_openvpn_client.php
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:30 -0500
commitd368b298a7c6350ae4d2c49fd084979b0af2a8c9 (patch)
treed62604ce5a963dd386bfdede7d288fbd97ce0e21 /src/usr/local/www/vpn_openvpn_client.php
parentb9087e1d7a8d25c34e2b5ce1336ff552bfb256ae (diff)
downloadpfsense-d368b298a7c6350ae4d2c49fd084979b0af2a8c9.zip
pfsense-d368b298a7c6350ae4d2c49fd084979b0af2a8c9.tar.gz
write_config before openvpn_resync here as well. Ticket #6139
Diffstat (limited to 'src/usr/local/www/vpn_openvpn_client.php')
-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