Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of lwip by
Revision 14:c3cc9cd76043, committed 2013-11-11
- Comitter:
- ansond
- Date:
- Mon Nov 11 18:52:47 2013 +0000
- Parent:
- 12:931deec14b08
- Commit message:
- https://github.com/mbedmicro/mbed/commit/8222bde1af2e328e4c58d0f438827f3091e5e0eb
Changed in this revision
core/tcp_out.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/core/tcp_out.c Tue Sep 10 15:14:39 2013 +0300 +++ b/core/tcp_out.c Mon Nov 11 18:52:47 2013 +0000 @@ -646,6 +646,9 @@ last_unsent->len += concat_p->tot_len; #if TCP_CHECKSUM_ON_COPY if (concat_chksummed) { + if (concat_chksum_swapped) { + concat_chksum = SWAP_BYTES_IN_WORD(concat_chksum); + } tcp_seg_add_chksum(concat_chksum, concat_chksummed, &last_unsent->chksum, &last_unsent->chksum_swapped); last_unsent->flags |= TF_SEG_DATA_CHECKSUMMED;