projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Forget addresses of unreachable nodes.
[oweals/tinc.git]
/
src
/
graph.c
diff --git
a/src/graph.c
b/src/graph.c
index 148f23c4253d20c9e2ae69a2b17553ccb28c423d..f5aff5bfd7a2511e71042162408e390a332d19ea 100644
(file)
--- a/
src/graph.c
+++ b/
src/graph.c
@@
-286,6
+286,9
@@
void sssp_bfs(void) {
free(envp[i]);
subnet_update(n, NULL, n->status.reachable);
+
+ if(!n->status.reachable)
+ update_node_udp(n, NULL);
}
}
}