Commit 028377fb authored by Deathcrow's avatar Deathcrow

bugfix

parent 6b37f272
......@@ -267,7 +267,7 @@ for i in sender:
clean_up()
#calculate bandwith for each sender:
#calculate bandwidth for each sender:
for key, i in enumerate(sender):
last_timestamp = 0
last_seq = 0
......@@ -286,6 +286,8 @@ for key, i in enumerate(sender):
bw = bw * 8 / 1000 / 1000 # Mbps
bandwith_file.write(" ".join(line_split[:3]+[str(bw)] )+"\n" )
bandwith_file.close()
last_timestamp = float(line_split[0])
last_seq = int(line_split[4], 0)
for i in sender:
i['tcpprobe_file'].close()
......
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