mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Ignore the return value of ADDCARRY().
This commit is contained in:
parent
910a5e18ba
commit
653bfa0ba3
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@
|
|||
#include <machine/in_cksum.h>
|
||||
|
||||
#define ADDCARRY(x) (x > 65535 ? x -= 65535 : x)
|
||||
#define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
|
||||
#define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; (void)ADDCARRY(sum);}
|
||||
|
||||
int in4_cksum(struct mbuf *, u_int8_t, int, int);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue