mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
GH-1079: Use full paths starting with zeek/ when including files
This commit is contained in:
parent
78fc5615a5
commit
96d9115360
640 changed files with 2708 additions and 2698 deletions
|
@ -1,20 +1,20 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#include "analyzer/protocol/tcp/TCP.h"
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
#include "analyzer/protocol/pia/PIA.h"
|
||||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
#include "zeek/analyzer/protocol/pia/PIA.h"
|
||||
|
||||
#include "IP.h"
|
||||
#include "RunState.h"
|
||||
#include "NetVar.h"
|
||||
#include "File.h"
|
||||
#include "Event.h"
|
||||
#include "Reporter.h"
|
||||
#include "Sessions.h"
|
||||
#include "DebugLogger.h"
|
||||
#include "zeek/IP.h"
|
||||
#include "zeek/RunState.h"
|
||||
#include "zeek/NetVar.h"
|
||||
#include "zeek/File.h"
|
||||
#include "zeek/Event.h"
|
||||
#include "zeek/Reporter.h"
|
||||
#include "zeek/Sessions.h"
|
||||
#include "zeek/DebugLogger.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "types.bif.h"
|
||||
|
@ -276,7 +276,7 @@ bool TCP_Analyzer::ValidateChecksum(const IP_Hdr* ip, const struct tcphdr* tp,
|
|||
TCP_Endpoint* endpoint, int len, int caplen)
|
||||
{
|
||||
if ( ! run_state::current_pkt->l3_checksummed &&
|
||||
! detail::ignore_checksums &&
|
||||
! detail::ignore_checksums &&
|
||||
! zeek::id::find_val<TableVal>("ignore_checksums_nets")->Contains(ip->IPHeaderSrcAddr()) &&
|
||||
caplen >= len && ! endpoint->ValidChecksum(tp, len, ip->IP4_Hdr()) )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue