Remove setting non-existent session history for IPTunnel

This commit is contained in:
Tim Wojtulewicz 2024-01-23 11:22:41 -07:00
parent a3af4a4b51
commit 8977f49665
3 changed files with 15 additions and 1 deletions

View file

@ -23,7 +23,6 @@ bool IPTunnelAnalyzer::AnalyzePacket(size_t len, const uint8_t* data, Packet* pa
}
if ( packet->encap && packet->encap->Depth() >= BifConst::Tunnel::max_depth ) {
packet->session->CheckHistory(zeek::session::detail::HIST_UNKNOWN_PKT, 'X');
Weird("exceeded_tunnel_max_depth", packet);
return false;
}