diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-09-30 16:25:42 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-09-30 16:26:29 +0200 |
commit | 38a7e5b365edce1fc0a972a05bbda0673ca63cad (patch) | |
tree | bd7568505a14739910dc8c09faaeffde2bac869b /Make_global.am | |
parent | 601abd1c71ccdf90753cf294c120ad43fb25dc54 (diff) |
checksum: Fix UDP checksum calculation
The level 4 protocol is part of the UDP and TCP calculations.
nfq_checksum_tcpudp_ipv4() was using IPPROTO_TCP in this calculation,
which gave the wrong answer for UDP.
Based on patch from Alin Nastac, and patch description from Duncan Roe.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Make_global.am')
0 files changed, 0 insertions, 0 deletions