Commit 2a7724c1 authored by Misbah Mubarak's avatar Misbah Mubarak

Fixing adaptive routing VC issue

parent 4047d77b
......@@ -2839,8 +2839,8 @@ router_packet_receive( router_state * s,
} else if (cur_chunk->msg.my_g_hop == 2) {
if(routing == PROG_ADAPTIVE && cur_chunk->msg.my_l_hop < 6) {
cur_chunk->msg.my_l_hop = 6;
} else if(cur_chunk->msg.my_l_hop < 8) {
cur_chunk->msg.my_l_hop = 8;
} else if(cur_chunk->msg.my_l_hop < 4) {
cur_chunk->msg.my_l_hop = 4;
}
}
output_chan = cur_chunk->msg.my_l_hop;
......
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