mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Fix Sessions::DoNextPacket to ignore ARP packets and not report weirds for them
This commit is contained in:
parent
8d834a1d89
commit
6a0bd63756
1 changed files with 3 additions and 1 deletions
|
@ -174,7 +174,9 @@ void NetSessions::NextPacket(double t, const Packet* pkt)
|
|||
DoNextPacket(t, pkt, &ip_hdr, nullptr);
|
||||
}
|
||||
|
||||
else
|
||||
// Check that it wasn't set to L3_ARP here, or there's a bunch of extra weirds
|
||||
// that get reported.
|
||||
else if ( pkt->l3_proto != L3_ARP)
|
||||
{
|
||||
Weird("unknown_packet_type", pkt);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue