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
codes
codes
Commits
99c0a322
Commit
99c0a322
authored
Jun 13, 2018
by
Misbah Mubarak
Browse files
removing vc reset condition for one global hop
parent
22c04a87
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networks/model-net/dragonfly-custom.C
View file @
99c0a322
...
...
@@ -3257,12 +3257,12 @@ router_packet_receive( router_state * s,
}
}
else
{
if
(
cur_chunk
->
msg
.
my_g_hop
==
1
)
{
/*
if(cur_chunk->msg.my_g_hop == 1) {
if(cur_chunk->msg.my_l_hop < 1){
cur_chunk->msg.my_l_hop = 1;
}
}
else
if
(
cur_chunk
->
msg
.
my_g_hop
==
2
)
{
else
*/
if
(
cur_chunk
->
msg
.
my_g_hop
==
2
)
{
if
(
cur_chunk
->
msg
.
my_l_hop
<
2
)
cur_chunk
->
msg
.
my_l_hop
=
2
;
}
...
...
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