diff --git a/src/algo_thunder.c b/src/algo_thunder.c index 58edda4..a0ad598 100644 --- a/src/algo_thunder.c +++ b/src/algo_thunder.c @@ -247,7 +247,7 @@ void classify(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo, struct b if (li[i].delta_t - ALLOWED_JITTER_MS <= thunderc->rcv_delta_t_per_link[i]) continue; struct block_info *bi = malloc(sizeof(struct block_info)); - bi->i = i; bi->app_ctx = app_ctx; bi->missing = thunderc->received_pkts_on_link[i]+1; + bi->i = i; bi->app_ctx = app_ctx; bi->missing = thunderc->received_pkts_on_link[i]; //printf(" Packet Too Late - Blocked link %d (expected: at least %dms ago, received: %ldms ago)\n", i, li[i].delta_t - ALLOWED_JITTER_MS, thunderc->rcv_delta_t_per_link[i]); on_block(ctx, bi);