Send heartbeat on NACKFRAG of latest sample

Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
Erik Boasson 2020-05-29 16:00:17 +02:00 committed by eboasson
parent 18d4bc9699
commit eb2a273c1e

View file

@ -1579,7 +1579,7 @@ static int handle_NackFrag (struct receiver_state *rst, ddsrt_etime_t tnow, cons
qxev_msg (wr->evq, m);
}
}
if (seq < writer_read_seq_xmit (wr))
if (seq <= writer_read_seq_xmit (wr))
{
/* Not everything was retransmitted yet, so force a heartbeat out
to give the reader a chance to nack the rest and make sure