projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Choose a suitable socket when updating a node's UDP address.
[tinc]
/
src
/
graph.c
diff --git
a/src/graph.c
b/src/graph.c
index
6428f4d
..
9036c52
100644
(file)
--- a/
src/graph.c
+++ b/
src/graph.c
@@
-246,6
+246,8
@@
static void check_reachability(void) {
if(!n->status.reachable) {
update_node_udp(n, NULL);
+ memset(&n->status, 0, sizeof n->status);
+ n->options = 0;
} else if(n->connection) {
if(n->status.sptps) {
if(n->connection->outgoing)