projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9915f2a
)
Remove superfluous call to avl_delete().
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 13 Sep 2009 12:07:40 +0000
(14:07 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 13 Sep 2009 12:07:40 +0000
(14:07 +0200)
src/node.c
patch
|
blob
|
history
diff --git
a/src/node.c
b/src/node.c
index 0c9033ca0fb0c4516f9878c64d09b2196f621602..4fbec08fabcb8e1a18e8588f089661b3832f5a01 100644
(file)
--- a/
src/node.c
+++ b/
src/node.c
@@
-174,7
+174,6
@@
void update_node_udp(node_t *n, const sockaddr_t *sa)
if(sa) {
n->address = *sa;
n->hostname = sockaddr2hostname(&n->address);
- avl_delete(node_udp_tree, n);
avl_insert(node_udp_tree, n);
ifdebug(PROTOCOL) logger(LOG_DEBUG, "UDP address of %s set to %s", n->name, n->hostname);
} else {