Commit e64e38f5 authored by Misbah Mubarak's avatar Misbah Mubarak
Browse files

updates to dragonfly reverse handler

parent 5f9dc15a
...@@ -581,7 +581,7 @@ static void packet_generate_rc(terminal_state * s, ...@@ -581,7 +581,7 @@ static void packet_generate_rc(terminal_state * s,
int i; int i;
tw_rand_reverse_unif(lp->rng); tw_rand_reverse_unif(lp->rng);
for(i = 0; i < msg->num_chunks; i++) if(bf->c1)
tw_rand_reverse_unif(lp->rng); tw_rand_reverse_unif(lp->rng);
mn_stats* stat; mn_stats* stat;
...@@ -664,6 +664,7 @@ static void packet_generate(terminal_state * s, ...@@ -664,6 +664,7 @@ static void packet_generate(terminal_state * s,
/* Now schedule another packet generate event */ /* Now schedule another packet generate event */
if(chunk_id < num_chunks - 1) if(chunk_id < num_chunks - 1)
{ {
bf->c1 = 1;
/* Issue another packet generate event */ /* Issue another packet generate event */
tw_event * e_gen; tw_event * e_gen;
terminal_message * m_gen; terminal_message * m_gen;
......
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