OpenVPN: Fix daemon stuck in WAIT state.

When the client is in the WAIT state, it is usally connected
to the server.
This commit is contained in:
Michael Tremer
2014-01-12 15:40:50 +01:00
parent e1a51ebb85
commit e11f536252
2 changed files with 2 additions and 2 deletions

View File

@@ -404,7 +404,7 @@ END
my $display;
my $display_colour = $Header::colourred;
if ( $tustate[1] eq 'CONNECTED') {
if (($tustate[1] eq 'CONNECTED') || ($tustate[1] eq 'WAIT')) {
$display_colour = $Header::colourgreen;
$display = $Lang::tr{'capsopen'};
} else {

View File

@@ -4941,7 +4941,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 {