Commit 35b587ee authored by thomas alfroy's avatar thomas alfroy
Browse files

fix ECN bug

parent 310015a1
......@@ -159,6 +159,8 @@ while con:
if act_time + second <= time.time():
if second != 0.0 :
print("{} packets received last second".format(nb_packets))
if act_time + 1.0 <= time.time():
nb_packets = 0
act_time = time.time()
tagged = False
......
Supports Markdown
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