X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol.c;h=63163a0f596e82b9f77931a0cfb0e0bb89efae9d;hb=303dd1e70219a7542921f6e63d9391ab326d434f;hp=fd908949b6fa13bb6ab49a7640169504680ed338;hpb=434e57ae5ee79b3d990c4d75358047bad641998b;p=tinc diff --git a/src/protocol.c b/src/protocol.c index fd908949..63163a0f 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -30,6 +30,7 @@ bool tunnelserver = false; bool strictsubnets = false; +bool experimental = false; /* Jumptable for the request handlers */ @@ -205,7 +206,7 @@ static void age_past_requests(int fd, short events, void *data) { next = node->next; p = node->data; - if(p->firstseen + pinginterval < now) + if(p->firstseen + pinginterval <= now) splay_delete_node(past_request_tree, node), deleted++; else left++;