diff --git a/src/algo_rr.c b/src/algo_rr.c index 177e598..35569c2 100644 --- a/src/algo_rr.c +++ b/src/algo_rr.c @@ -191,6 +191,8 @@ int algo_rr_on_stream(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo, } else if (bp->ip.ap.fmt.headers.cmd == CMD_HEALTH) { if (ctx->verbose > 1) fprintf(stderr, " [algo/rr] Received a HEALTH packet of size %d on URL %s\n", bp->ip.ap.fmt.headers.size, fdinfo->url); rr_pkt_manage_links(ctx, fdinfo, bp); + } else { + fprintf(stderr, " [algo/rr] Packet CMD unrecognized (%d)\n", bp->ip.ap.fmt.headers.cmd); } return 0;