Commit 99c0a322 authored by Misbah Mubarak's avatar Misbah Mubarak

removing vc reset condition for one global hop

parent 22c04a87
......@@ -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;
}
......
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