Don't try to add a non-existing node back to the node_udp_tree.

This commit is contained in:
Guus Sliepen 2005-01-20 15:14:25 +00:00
parent 39fe3b445c
commit 6363ed4d9c

View file

@ -226,6 +226,8 @@ void sssp_bfs(void)
free(e->to->hostname); free(e->to->hostname);
e->to->hostname = sockaddr2hostname(&e->to->address); e->to->hostname = sockaddr2hostname(&e->to->address);
if(node)
avl_insert_node(node_udp_tree, node); avl_insert_node(node_udp_tree, node);
if(e->to->options & OPTION_PMTU_DISCOVERY) { if(e->to->options & OPTION_PMTU_DISCOVERY) {