X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcontrol.c;h=6a39e02eeca2395aca9f9f2406d394c86fa7cf6d;hb=f0a57eab4cfd64d4f8261b1885a2072177f9e76b;hp=3e57f5512f4f759b1043ea23d0634232b7c0cdef;hpb=a62a6825a8a69e279ee0688a4cd9e51fbc52054b;p=tinc diff --git a/src/control.c b/src/control.c index 3e57f551..6a39e02e 100644 --- a/src/control.c +++ b/src/control.c @@ -124,6 +124,12 @@ static void handle_control_data(struct bufferevent *event, void *data) { goto respond; } + if(req.type == REQ_RETRY) { + logger(LOG_NOTICE, _("Got '%s' command"), "retry"); + retry(); + goto respond; + } + logger(LOG_DEBUG, _("Malformed control command received")); res.res_errno = EINVAL;