diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-11-01 21:05:04 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-11-01 21:05:04 +0000 |
commit | 76a59eae43d2a1d08c6dae855b57625008c44cca (patch) | |
tree | 6c438bd05ebb9c7fe48d84c7956c5335fe462d94 /multi.c | |
parent | VERSION 2.1_beta5 (diff) | |
download | openvpn-76a59eae43d2a1d08c6dae855b57625008c44cca.tar.xz |
Merged 2.0.4 changes.
svn merge -r 737:749 $SO/trunk/openvpn
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@750 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r-- | multi.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -413,7 +413,8 @@ static void multi_client_disconnect_script (struct multi_context *m, struct multi_instance *mi) { - if (mi->context.c2.context_auth == CAS_SUCCEEDED || mi->context.c2.context_auth == CAS_PARTIAL) + if ((mi->context.c2.context_auth == CAS_SUCCEEDED && mi->connection_established_flag) + || mi->context.c2.context_auth == CAS_PARTIAL) { multi_client_disconnect_setenv (m, mi); |