X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnode.c;h=4fbec08fabcb8e1a18e8588f089661b3832f5a01;hp=0c9033ca0fb0c4516f9878c64d09b2196f621602;hb=23e151aeed6b3ffe0fab10f51ffdb134deb7a852;hpb=9915f2abbedb7f1aa2b9e2f81d52ddcfca60e82d;ds=sidebyside diff --git a/src/node.c b/src/node.c index 0c9033ca..4fbec08f 100644 --- 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 {