summaryrefslogtreecommitdiffstats
path: root/push.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-10-01 21:08:40 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-10-01 21:08:40 +0000
commitf25071b66fbcf508f46e16f30e964bdaa8f97d6f (patch)
treee631bf4ca86a57183e9cdb8e13a64a694ccc0555 /push.h
parent7e6f2d6f5018e55ba21a808fc9432b31ecfdb4d2 (diff)
downloadopenvpn-f25071b66fbcf508f46e16f30e964bdaa8f97d6f.tar.gz
openvpn-f25071b66fbcf508f46e16f30e964bdaa8f97d6f.tar.xz
openvpn-f25071b66fbcf508f46e16f30e964bdaa8f97d6f.zip
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 'push.h')
-rw-r--r--push.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/push.h b/push.h
index e281310..914b119 100644
--- a/push.h
+++ b/push.h
@@ -49,6 +49,8 @@ bool send_push_request (struct context *c);
void receive_auth_failed (struct context *c, const struct buffer *buffer);
+void server_pushed_restart (struct context *c, const struct buffer *buffer);
+
#if P2MP_SERVER
void clone_push_list (struct options *o);
@@ -64,6 +66,8 @@ void remove_iroutes_from_push_route_list (struct options *o);
void send_auth_failed (struct context *c, const char *client_reason);
+void send_restart (struct context *c);
+
#endif
#endif
#endif