Commit 6a8509ed authored by Nikhil's avatar Nikhil Committed by Misbah Mubarak

Fix bug introduced in 77e85ef9

Change-Id: I430c19d46be11f00c4123118334f7e68f835a846
parent 5612eb11
......@@ -1854,7 +1854,9 @@ void switch_packet_receive_rc(switch_state * s,
s_arrive_r++;
#endif
int output_port = msg->saved_vc;
tw_rand_reverse_unif(lp->rng);
if(s->params->routing != STATIC) {
tw_rand_reverse_unif(lp->rng);
}
if(bf->c1)
{
tw_rand_reverse_unif(lp->rng);
......
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