Hi All,
inet_chksum_pseudo() had been producing bad checksum when compiled
under Paradigm C++. Tracked problem down to the conditional based on
bitwise shift right as in:
while (acc >> 16) {
This conditional is never true, but works when changed to
while ((acc >> 16) > 0) {
I notice there was a report of a bug in 2002 for the same function
producing bad checksum, maybe this was also the cause in that case.
Cheers
Dave
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users