Complement the sum as required in in_cksum_finalize().
PR: 15472 Submitted by: wollman
This commit is contained in:
parent
e424a6e102
commit
20128fc066
@ -411,5 +411,5 @@ in_cksum_finalize(psum)
|
||||
{
|
||||
in_psum_t sum = psum;
|
||||
REDUCE;
|
||||
return (sum & 0xffff);
|
||||
return (~sum & 0xffff);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user