|
|
|
|
@ -11,7 +11,6 @@
|
|
|
|
|
#include "config_parser.h" |
|
|
|
|
#include "topo_node.h" |
|
|
|
|
#include "topo_group.h" |
|
|
|
|
#include "conn_mgr.h" |
|
|
|
|
#include "route_lib.h" |
|
|
|
|
#include "etcp_debug.h" |
|
|
|
|
#include "topo_node_sqlite.h" |
|
|
|
|
@ -581,8 +580,6 @@ void topo_node_ping_update_rtt(struct TOPO_GROUPS* groups, uint64_t node_id, uin
|
|
|
|
|
nq->connectivity.real_min_rtt = rtt; |
|
|
|
|
DEBUG_TRACE(DEBUG_CATEGORY_BGP, "ping_update_rtt: node=%016llx rtt=%u (%llu) group=%016llx", |
|
|
|
|
(unsigned long long)node_id, (unsigned)rtt, (unsigned long long)now, (unsigned long long)g->group_id); |
|
|
|
|
if (g->conn_mgr) |
|
|
|
|
conn_mgr_update_best_candidates(g->conn_mgr, node_id, rtt); |
|
|
|
|
if (groups->instance && groups->instance->topo_sqlite_db) |
|
|
|
|
topo_node_sqlite_update_rtt(groups->instance->topo_sqlite_db, node_id, rtt); |
|
|
|
|
topo_fire_nodeinfo_cbk(groups->instance, g, nq); |
|
|
|
|
|