summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_openvpn_client.php
diff options
context:
space:
mode:
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