diff --git a/src/algo_rr.c b/src/algo_rr.c index 302565e..737fdd4 100644 --- a/src/algo_rr.c +++ b/src/algo_rr.c @@ -211,7 +211,7 @@ void rr_deliver(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo, struct // 2. Get the buffer and update rr state struct buffer_packet* bp = get_app_buffer (app_ctx, &dp->idx); int idx_real = bp->ip.ap.str.id % PACKET_BUFFER_SIZE; - rr->wait[idx_real].on = 0; + rr->real[idx_real].on = 0; //printf("Selected url %s for pkt %d to be delivered\n", fdinfo->url, bp->ip.ap.str.id); // 3. We update our cursor