X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol.c;h=d166305bee8185ff0397e71ff34e757091b4baf5;hb=c83c2d080f21b12db42ef664d7c3272b8b700656;hp=fc16ffe7c08b66166e114094daab6dd814e78a29;hpb=079dcd01794187d2857e1233f6c9930310812593;p=tinc diff --git a/src/protocol.c b/src/protocol.c index fc16ffe7..d166305b 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -30,7 +30,7 @@ bool tunnelserver = false; bool strictsubnets = false; -bool experimental = false; +bool experimental = true; /* Jumptable for the request handlers */ @@ -195,7 +195,7 @@ bool seen_request(const char *request) { } else { new = xmalloc(sizeof *new); new->request = xstrdup(request); - new->firstseen = time(NULL); + new->firstseen = now.tv_sec; splay_insert(past_request_tree, new); timeout_add(&past_request_timeout, age_past_requests, NULL, &(struct timeval){10, rand() % 100000}); return false;