gnrc_tftp: set dst_port when duplicated data received
This commit is contained in:
parent
3d9c7ee5de
commit
2fce0950bf
@ -702,6 +702,8 @@ tftp_state _tftp_state_processes(tftp_context_t *ctxt, msg_t *m)
|
||||
|
||||
if (proc == TS_DUP) {
|
||||
DEBUG("tftp: duplicated data received, acking...\n");
|
||||
ctxt->dst_port = byteorder_ntohs(udp->src_port);
|
||||
DEBUG("tftp: client's port is %" PRIu16 "\n", ctxt->dst_port);
|
||||
_tftp_send_dack(ctxt, outbuf, TO_ACK);
|
||||
return TS_BUSY;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user