Apply patch from Scott Lamb adding an output buffer for the TCP sockets.
[tinc] / src / protocol.c
index b4e14b0..de7f8b8 100644 (file)
@@ -241,7 +241,7 @@ void age_past_requests(void)
                next = node->next;
                p = node->data;
 
-               if(p->firstseen + pingtimeout < now)
+               if(p->firstseen + pinginterval < now)
                        avl_delete_node(past_request_tree, node), deleted++;
                else
                        left++;