mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Default tunnel_type in iosource::Packet to NONE
This commit is contained in:
parent
e856e953b8
commit
1e6cc76c83
3 changed files with 9 additions and 2 deletions
|
@ -67,7 +67,7 @@ void Packet::Init(int arg_link_type, pkt_timeval* arg_ts, uint32_t arg_caplen, u
|
|||
ip_hdr.reset();
|
||||
|
||||
proto = -1;
|
||||
tunnel_type = BifEnum::Tunnel::IP;
|
||||
tunnel_type = BifEnum::Tunnel::NONE;
|
||||
gre_version = -1;
|
||||
gre_link_type = DLT_RAW;
|
||||
|
||||
|
|
|
@ -250,7 +250,7 @@ public:
|
|||
* the type of tunnel. It is used to pass the tunnel type between the
|
||||
* packet analyzers during analysis.
|
||||
*/
|
||||
BifEnum::Tunnel::Type tunnel_type = BifEnum::Tunnel::IP;
|
||||
BifEnum::Tunnel::Type tunnel_type = BifEnum::Tunnel::NONE;
|
||||
|
||||
/**
|
||||
* If the packet contains a GRE tunnel, this field will contain the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue