diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2009-10-01 21:08:40 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2009-10-01 21:08:40 +0000 |
commit | f25071b66fbcf508f46e16f30e964bdaa8f97d6f (patch) | |
tree | e631bf4ca86a57183e9cdb8e13a64a694ccc0555 /multi.c | |
parent | Minor fix: management interface shouldn't echo 'load-stats' commands to (diff) | |
download | openvpn-f25071b66fbcf508f46e16f30e964bdaa8f97d6f.tar.xz |
client-kill management interface command, when issued on server, will
now send a RESTART message to client.
This feature is intended to make UDP clients respond the same as TCP
clients in the case where the server issues a RESTART message in
order to force the client to reconnect and pull a new options/route
list.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5021 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'multi.c')
-rw-r--r-- | multi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2539,7 +2539,7 @@ management_kill_by_cid (void *arg, const unsigned long cid) struct multi_instance *mi = lookup_by_cid (m, cid); if (mi) { - multi_signal_instance (m, mi, SIGTERM); + send_restart (&mi->context); /* was: multi_signal_instance (m, mi, SIGTERM); */ return true; } else |