projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ceea25
)
Fix for botched cherry-pick commit 60fb230.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 28 Feb 2016 15:38:49 +0000
(16:38 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 28 Feb 2016 15:38:49 +0000
(16:38 +0100)
src/protocol_edge.c
patch
|
blob
|
history
diff --git
a/src/protocol_edge.c
b/src/protocol_edge.c
index
a4aaa0c
..
dc0cf05
100644
(file)
--- a/
src/protocol_edge.c
+++ b/
src/protocol_edge.c
@@
-148,9
+148,9
@@
bool add_edge_h(connection_t *c, const char *request) {
e->address = address;
}
if(e->weight != weight) {
-
avl_node_t *node = avl
_unlink(edge_weight_tree, e);
+
splay_node_t *node = splay
_unlink(edge_weight_tree, e);
e->weight = weight;
-
avl
_insert_node(edge_weight_tree, node);
+
splay
_insert_node(edge_weight_tree, node);
}
goto done;