projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a bug in handling prefixlengths that are not a multiple of 4.
[tinc]
/
src
/
protocol.c
diff --git
a/src/protocol.c
b/src/protocol.c
index
b4e14b0
..
de7f8b8
100644
(file)
--- a/
src/protocol.c
+++ b/
src/protocol.c
@@
-241,7
+241,7
@@
void age_past_requests(void)
next = node->next;
p = node->data;
next = node->next;
p = node->data;
- if(p->firstseen + ping
timeout
< now)
+ if(p->firstseen + ping
interval
< now)
avl_delete_node(past_request_tree, node), deleted++;
else
left++;
avl_delete_node(past_request_tree, node), deleted++;
else
left++;