projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix forwarding of edge updates.
[oweals/tinc.git]
/
src
/
protocol_edge.c
diff --git
a/src/protocol_edge.c
b/src/protocol_edge.c
index e048703fdd62baec5687d3b3e1d019ac0b5c243f..c6a6a2a8165321fecb876d46b227aa62c44dcaf5 100644
(file)
--- a/
src/protocol_edge.c
+++ b/
src/protocol_edge.c
@@
-136,8
+136,7
@@
bool add_edge_h(connection_t *c) {
avl_insert_node(edge_weight_tree, node);
}
- graph();
- return true;
+ goto done;
}
} else
return true;
@@
-161,6
+160,7
@@
bool add_edge_h(connection_t *c) {
e->weight = weight;
edge_add(e);
+done:
/* Tell the rest about the new edge */
if(!tunnelserver)