Don't try to add a non-existing node back to the node_udp_tree.
This commit is contained in:
parent
39fe3b445c
commit
6363ed4d9c
1 changed files with 3 additions and 1 deletions
|
@ -226,7 +226,9 @@ void sssp_bfs(void)
|
|||
free(e->to->hostname);
|
||||
|
||||
e->to->hostname = sockaddr2hostname(&e->to->address);
|
||||
avl_insert_node(node_udp_tree, node);
|
||||
|
||||
if(node)
|
||||
avl_insert_node(node_udp_tree, node);
|
||||
|
||||
if(e->to->options & OPTION_PMTU_DISCOVERY) {
|
||||
e->to->mtuprobes = 0;
|
||||
|
|
Loading…
Reference in a new issue