Merge pull request #625 from mrdeep1/duplicate_ack

net.c: Handle duplicate empty ACK
This commit is contained in:
obgm authored and GitHub committed 2021-04-07 17:13:56 +02:00
commit 3b9ec3b691
1 file changed
+1 -1
+1 -1
View File
@@ -2926,7 +2926,7 @@ coap_dispatch(coap_context_t *context, coap_session_t *session,
coap_touch_observer(context, sent->session, &token);
}
if (pdu->code == 0 && sent) {
if (pdu->code == 0) {
/* an empty ACK needs no further handling */
goto cleanup;
}