X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol.c;h=b8b8104328073b38445f3c56001c4126f78da998;hp=023f9697b88c71f1a073b96de6f1a49e2aa49525;hb=74c89c1dc9b14436c79cdf49366d3e5c19862457;hpb=0acbdba62ea6798427366a12aaeebccbf7226b26 diff --git a/src/protocol.c b/src/protocol.c index 023f9697..b8b81043 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -226,6 +226,8 @@ void init_requests(void) { past_request_tree = splay_alloc_tree((splay_compare_t) past_request_compare, (splay_action_t) free_past_request); past_request_event.handler = age_past_requests; + past_request_event.time = time(NULL) + 10; + event_add(&past_request_event); } void exit_requests(void) {