diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-10-19 07:50:13 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-10-19 07:50:13 +0000 |
commit | 7b0a8146c71e64f39256179208447807df00948b (patch) | |
tree | 6691e9c5d9cfc3bb09f9734c780826909ff53e33 /multi.c | |
parent | Merged with Alon's tree @ r660 (diff) | |
download | openvpn-7b0a8146c71e64f39256179208447807df00948b.tar.xz |
svn merge -r 670:672 $SO/trunk/openvpn
Brought up-to-date with 2.0.x branch.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@673 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'multi.c')
-rw-r--r-- | multi.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1045,6 +1045,7 @@ multi_delete_dup (struct multi_context *m, struct multi_instance *new_mi) { struct hash_iterator hi; struct hash_element *he; + int count = 0; hash_iterator_init (m->iter, &hi, true); while ((he = hash_iterator_next (&hi))) @@ -1058,10 +1059,14 @@ multi_delete_dup (struct multi_context *m, struct multi_instance *new_mi) mi->did_iter = false; multi_close_instance (m, mi, false); hash_iterator_delete_element (&hi); + ++count; } } } hash_iterator_free (&hi); + + if (count) + msg (D_MULTI_LOW, "MULTI: new connection by client '%s' will cause previous active sessions by this client to be dropped. Remember to use the --duplicate-cn option if you want multiple clients using the same certificate or username to concurrently connect.", new_cn); } } } |