Commit 0e2dd4df authored by Georg von Zengen's avatar Georg von Zengen

udtn throughput: even more fixing

parent 363716bd
......@@ -247,7 +247,7 @@ PROCESS_THREAD(udtn_sink_process, ev, data)
We received 1000 bundles, if seqno is 999 bundleloss is 0%
If seqno is 1999 bundleloss is 50% (1000 received, 1000 lost) */
if(seqno < BUNDLES - 1){
TEST_REPORT("packetloss1", (0, seqno+1, "\%"));
TEST_REPORT("packetloss1", 0, seqno+1, "\%");
}else{
TEST_REPORT("packetloss", (seqno-(BUNDLES-1))*100, seqno+1, "\%");
}
......
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