Browse Source

f tftp: address @aabadie comments.

pr/rotary
kYc0o 6 years ago
parent
commit
e2e1500c6d
  1. 4
      sys/net/gnrc/application_layer/tftp/gnrc_tftp.c

4
sys/net/gnrc/application_layer/tftp/gnrc_tftp.c

@ -1121,8 +1121,8 @@ int _tftp_process_data(tftp_context_t *ctxt, gnrc_pktsnip_t *buf)
return TS_FAILED;
}
if (block_nr < (ctxt->block_nr + 1)) {
DEBUG("tftp: not the packet we were wating for, expected %d, received %d\n",
(uint16_t)(ctxt->block_nr + 1), block_nr);
DEBUG("tftp: not the packet we were waiting for, expected %d, received %d\n",
(uint16_t)(ctxt->block_nr + 1), block_nr);
return TS_DUP;
}

Loading…
Cancel
Save