Commit fcc455b0 authored by Misbah Mubarak's avatar Misbah Mubarak

restricting progressive adaptive routing to source group

parent 27ee4c52
...@@ -3171,8 +3171,8 @@ router_packet_receive( router_state * s, ...@@ -3171,8 +3171,8 @@ router_packet_receive( router_state * s,
&& routing == ADAPTIVE) && routing == ADAPTIVE)
|| (cur_chunk->msg.path_type == MINIMAL || (cur_chunk->msg.path_type == MINIMAL
&& routing == PROG_ADAPTIVE && routing == PROG_ADAPTIVE
&& s->router_id == dest_router_id))) // && s->router_id != dest_router_id)))
// && local_grp_id == src_grp_id))) && local_grp_id == src_grp_id)))
{ {
bf->c20 = 1; bf->c20 = 1;
adap_chan = do_global_adaptive_routing(s, lp, &(cur_chunk->msg), bf, dest_router_id, intm_router_id, intm_router_id_b); adap_chan = do_global_adaptive_routing(s, lp, &(cur_chunk->msg), bf, dest_router_id, intm_router_id, intm_router_id_b);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment