This commit is contained in:
Evgeny committed 2026-03-30 20:21:15 +03:00
1 parent 2260e068f0
commit 9a9a4ccf3c
1 file changed
+1 -2
+1 -2
View File
@@ -535,8 +535,7 @@ int route_bgp_process_nodeinfo(struct ROUTE_BGP* bgp, struct ETCP_CONN* from,
}
existing = (struct NODEINFO_Q*)entry;
existing->paths = queue_new(bgp->instance->ua, 0, "node_paths");
queue_data_put(bgp->nodes, entry);
// queue_data_put_with_index(bgp->nodes, entry, offsetof(struct NODEINFO_Q, node.node_id)-sizeof(struct ll_entry), 8);
queue_data_put_with_index(bgp->nodes, entry, offsetof(struct NODEINFO_Q, node.node_id)-sizeof(struct ll_entry), 8);
}
memcpy(&existing->node, ni, sizeof(struct NODEINFO));