Clear status and options fields of unreachable nodes.
This commit is contained in:
parent
d917c8cb6b
commit
45944e4514
1 changed files with 2 additions and 0 deletions
|
@ -246,6 +246,8 @@ static void check_reachability(void) {
|
|||
|
||||
if(!n->status.reachable) {
|
||||
update_node_udp(n, NULL);
|
||||
memset(&n->status, 0, sizeof n->status);
|
||||
n->options = 0;
|
||||
} else if(n->connection) {
|
||||
if(n->status.sptps) {
|
||||
if(n->connection->outgoing)
|
||||
|
|
Loading…
Reference in a new issue