Browse Source

1

congestion
Evgeny 6 months ago
parent
commit
9a9a4ccf3c
  1. 3
      src/route_bgp.c

3
src/route_bgp.c

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

Loading…
Cancel
Save