Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
e64e38f5
Commit
e64e38f5
authored
Aug 19, 2015
by
Misbah Mubarak
Browse files
updates to dragonfly reverse handler
parent
5f9dc15a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/models/networks/model-net/dragonfly.c
View file @
e64e38f5
...
...
@@ -581,7 +581,7 @@ static void packet_generate_rc(terminal_state * s,
int
i
;
tw_rand_reverse_unif
(
lp
->
rng
);
for
(
i
=
0
;
i
<
msg
->
num_chunks
;
i
++
)
if
(
bf
->
c1
)
tw_rand_reverse_unif
(
lp
->
rng
);
mn_stats
*
stat
;
...
...
@@ -664,6 +664,7 @@ static void packet_generate(terminal_state * s,
/* Now schedule another packet generate event */
if
(
chunk_id
<
num_chunks
-
1
)
{
bf
->
c1
=
1
;
/* Issue another packet generate event */
tw_event
*
e_gen
;
terminal_message
*
m_gen
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment