|
|
|
|
@ -16,6 +16,7 @@
|
|
|
|
|
#include "topo_node.h" |
|
|
|
|
#include "topo_node_sqlite.h" |
|
|
|
|
#include "sock_match.h" |
|
|
|
|
#include "nat_detection.h" |
|
|
|
|
#include "topo_group.h" |
|
|
|
|
#include "ntp_time.h" |
|
|
|
|
#include "config_parser.h" |
|
|
|
|
@ -582,6 +583,7 @@ static void ncd_connect_timeout_cb(void* arg) {
|
|
|
|
|
entry->connect_timer = NULL; |
|
|
|
|
DEBUG_WARN(DEBUG_CATEGORY_NCD, "[ncd] connect TIMEOUT: node=0x%016llx now_tb=%llu handles=%d", |
|
|
|
|
(unsigned long long)entry->node_id, (unsigned long long)get_time_tb(), entry->handle_count); |
|
|
|
|
nat_detection_connection_failed(entry->inst->nat_det, entry->conn, 0); |
|
|
|
|
ncd_event_dispatch(entry, NCD_EVENT_TIMEOUT); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|