Commit 800cba7c authored by Misbah Mubarak's avatar Misbah Mubarak
Browse files

fixing statistics display for minimal routes

parent 5632adf2
......@@ -2898,7 +2898,7 @@ router_packet_receive( router_state * s,
/* If destination router is in the same group then local adaptive routing is
* triggered */
if(s->router_id == dest_router_id)
if(cur_chunk->msg.origin_router_id == dest_router_id)
cur_chunk->msg.path_type = MINIMAL;
if(dest_grp_id == src_grp_id &&
Supports Markdown
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