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
This commit is contained in:
Michael Tremer
2014-01-12 15:40:50 +01:00
parent 7e8d006496
commit ed4b4c19b9

View File

@@ -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 = "<b><font color='#FFFFFF'>$Lang::tr{'capsopen'}</font></b>";
}else {