From ed4b4c19b9e47229ead960bd43bcc9cd6a01413a Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 12 Jan 2014 15:40:50 +0100 Subject: [PATCH 1/1] Re-apply: OpenVPN: Fix daemon stuck in WAIT state. When the client is in the WAIT state, it is usally connected to the server. Conflicts: html/cgi-bin/index.cgi html/cgi-bin/ovpnmain.cgi --- html/cgi-bin/ovpnmain.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index a051b5d83..8390be058 100644 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -5177,7 +5177,7 @@ END #EXITING -- A graceful exit is in progress. #### - if ($tustate[1] eq 'CONNECTED') { + if (($tustate[1] eq 'CONNECTED') || ($tustate[1] eq 'WAIT')) { $col1="bgcolor='${Header::colourgreen}'"; $active = "$Lang::tr{'capsopen'}"; }else { -- 2.39.2