From f25071b66fbcf508f46e16f30e964bdaa8f97d6f Mon Sep 17 00:00:00 2001 From: james Date: Thu, 1 Oct 2009 21:08:40 +0000 Subject: 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 --- multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'multi.c') diff --git a/multi.c b/multi.c index ecd1bb3..7f77cb8 100644 --- a/multi.c +++ b/multi.c @@ -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 -- cgit