projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only log UDP address changes at the appropriate debug levels.
[tinc]
/
src
/
protocol.c
diff --git
a/src/protocol.c
b/src/protocol.c
index
230ee3b
..
650c512
100644
(file)
--- a/
src/protocol.c
+++ b/
src/protocol.c
@@
-178,7
+178,7
@@
static void free_past_request(past_request_t *r) {
static struct event past_request_event;
bool seen_request(char *request) {
static struct event past_request_event;
bool seen_request(char *request) {
- past_request_t *new, p = {
0
};
+ past_request_t *new, p = {
NULL
};
p.request = request;
p.request = request;
@@
-205,7
+205,7
@@
static void age_past_requests(int fd, short events, void *data) {
next = node->next;
p = node->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++;
splay_delete_node(past_request_tree, node), deleted++;
else
left++;