From 30a1c6d6d88d22089038643eb19ae5c5c3367de4 Mon Sep 17 00:00:00 2001 From: Utz-Uwe Haus <uhaus@hpe.com> Date: Thu, 5 Aug 2021 11:38:37 +0000 Subject: [PATCH] use proper state to check for implicit-offer-ack --- maestro/pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maestro/pool.c b/maestro/pool.c index 683d1aba..46a05b76 100644 --- a/maestro/pool.c +++ b/maestro/pool.c @@ -1135,7 +1135,7 @@ mstro_pool__find_source_cdo( } if(i<e->num_cdo_handles) { DEBUG("Found CDO at index %zu that can provide data\n", i); - if(mstro_cdo_state_get(e->cdo_handles[i])==MSTRO_CDO_STATE_SEALED) { + if(mstro_cdo_state_get(e->cdo_handles[i])==MSTRO_CDO_STATE_OFFERED_LOCALLY) { WITH_CDO_ID_STR(idstr, cdoid, { DEBUG("Doing implicit OFFER-ACK for CDO %s at transport ticket creation (src side) time\n", idstr); -- GitLab