diff options
author | ru <ru@FreeBSD.org> | 2004-04-07 10:01:39 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-04-07 10:01:39 +0000 |
commit | a6980b04fc41a4c6dc314dc3aa00de7e7834ba7b (patch) | |
tree | edee866751b92a668599d9d82ffb9b264a82d38f /tools/regression/lib | |
parent | 1c584f59a55cb440f0487854db33b28a08898f82 (diff) | |
download | FreeBSD-src-a6980b04fc41a4c6dc314dc3aa00de7e7834ba7b.zip FreeBSD-src-a6980b04fc41a4c6dc314dc3aa00de7e7834ba7b.tar.gz |
Fixed a bug in previous revision: compute the payload checksum before
we convert ip_len into a network byte order; in_delayed_cksum() still
expects it in host byte order.
The symtom was the ``in_cksum_skip: out of data by %d'' complaints
from the kernel.
To add to the previous commit log. These fixes make tcpdump(1) happy
by not complaining about UDP/TCP checksum being bad for looped back
IP multicast when multicast router is deactivated.
Reported by: Vsevolod Lobko
Diffstat (limited to 'tools/regression/lib')
0 files changed, 0 insertions, 0 deletions