Commit fe57ace4 authored by Misbah Mubarak's avatar Misbah Mubarak

minor bug fix in dragonfly

parent 4e3fa9b0
......@@ -816,7 +816,7 @@ terminal_init( terminal_state * s,
s->anno, 0);
s->terminal_id = (mapping_rep_id * num_lps) + mapping_offset;
s->router_id=(int)s->terminal_id / s->params->num_routers;
s->router_id=(int)s->terminal_id / (s->params->num_routers/2);
s->terminal_available_time = 0.0;
s->packet_counter = 0;
......
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