X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Fprotocol.c;h=116e139eebc98c686652bb62e8b4d0095b3a525e;hb=65d6f023c46ac3a087f59b60762f87c869783f21;hp=fd908949b6fa13bb6ab49a7640169504680ed338;hpb=434e57ae5ee79b3d990c4d75358047bad641998b;p=tinc diff --git a/src/protocol.c b/src/protocol.c index fd908949..116e139e 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 */ @@ -95,7 +96,7 @@ bool send_request(connection_t *c, const char *format, ...) { request[len++] = '\n'; - if(c == broadcast) { + if(c == everyone) { broadcast_meta(NULL, request, len); return true; } else @@ -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++;