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 | 1818cf94daa86ea3710f5ebd92fa6ba059ea0b3b (diff) | |
download | openvpn-76a59eae43d2a1d08c6dae855b57625008c44cca.tar.gz openvpn-76a59eae43d2a1d08c6dae855b57625008c44cca.tar.xz openvpn-76a59eae43d2a1d08c6dae855b57625008c44cca.zip |
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 'multi.c')
-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); |