|
|
|
|
@ -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)); |
|
|
|
|
|