n->minmtu = 0;
n->mtuprobes = 0;
- timeout_del(&n->mtutimeout);
+ timeout_del(&n->udp_ping_timeout);
char *name;
char *address;
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)
- send_req_key(n);
- } else {
- send_ans_key(n);
- }
}
}
if (device_standby) {
if (reachable_count == 0 && became_unreachable_count > 0)
device_disable();
- else if (reachable_count == became_reachable_count)
+ else if (reachable_count > 0 && reachable_count == became_reachable_count)
device_enable();
}
}