Complement the sum as required in in_cksum_finalize().

PR:		15472
Submitted by:	wollman
This commit is contained in:
sheldonh 1999-12-20 12:11:34 +00:00
parent e424a6e102
commit 20128fc066

View File

@ -411,5 +411,5 @@ in_cksum_finalize(psum)
{
in_psum_t sum = psum;
REDUCE;
return (sum & 0xffff);
return (~sum & 0xffff);
}