projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39fe3b4
)
Don't try to add a non-existing node back to the node_udp_tree.
author
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 20 Jan 2005 15:14:25 +0000
(15:14 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 20 Jan 2005 15:14:25 +0000
(15:14 +0000)
src/graph.c
patch
|
blob
|
history
diff --git
a/src/graph.c
b/src/graph.c
index
f6ce90d
..
491a59f
100644
(file)
--- a/
src/graph.c
+++ b/
src/graph.c
@@
-226,7
+226,9
@@
void sssp_bfs(void)
free(e->to->hostname);
e->to->hostname = sockaddr2hostname(&e->to->address);
- avl_insert_node(node_udp_tree, node);
+
+ if(node)
+ avl_insert_node(node_udp_tree, node);
if(e->to->options & OPTION_PMTU_DISCOVERY) {
e->to->mtuprobes = 0;