mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Merge branch 'master' of https://github.com/zeek/zeek
This commit is contained in:
commit
e2aeb70efc
8 changed files with 117 additions and 16 deletions
|
@ -275,7 +275,7 @@ const struct tcphdr* TCP_Analyzer::ExtractTCP_Header(const u_char*& data,
|
|||
bool TCP_Analyzer::ValidateChecksum(const struct tcphdr* tp,
|
||||
TCP_Endpoint* endpoint, int len, int caplen)
|
||||
{
|
||||
if ( ! ignore_checksums && caplen >= len &&
|
||||
if ( ! current_pkt->l3_checksummed && ! ignore_checksums && caplen >= len &&
|
||||
! endpoint->ValidChecksum(tp, len) )
|
||||
{
|
||||
Weird("bad_TCP_checksum");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue