From 5a9c3449a8ba187d2b0959eacccdabb13ca05dd4 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Mon, 11 Jul 2016 21:57:01 -0500 Subject: write_config before openvpn_resync here as well. Ticket #6139 --- src/usr/local/www/vpn_openvpn_client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr/local/www/vpn_openvpn_client.php') 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; -- cgit v1.1