mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
GH-2183: Rework Packet checksummed variable naming
This commit is contained in:
parent
1af3039ca3
commit
1b5741d905
7 changed files with 25 additions and 8 deletions
|
@ -163,7 +163,7 @@ bool TCPAnalyzer::ValidateChecksum(const IP_Hdr* ip, const struct tcphdr* tp,
|
|||
analyzer::tcp::TCP_Endpoint* endpoint, int len, int caplen,
|
||||
TCPSessionAdapter* adapter)
|
||||
{
|
||||
if ( ! run_state::current_pkt->l3_checksummed && ! detail::ignore_checksums &&
|
||||
if ( ! run_state::current_pkt->l4_checksummed && ! detail::ignore_checksums &&
|
||||
! GetIgnoreChecksumsNets()->Contains(ip->IPHeaderSrcAddr()) && caplen >= len &&
|
||||
! endpoint->ValidChecksum(tp, len, ip->IP4_Hdr()) )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue