Fix Sessions::DoNextPacket to ignore ARP packets and not report weirds for them

This commit is contained in:
Tim Wojtulewicz 2020-09-22 14:22:05 -07:00
parent 8d834a1d89
commit 6a0bd63756

View file

@ -174,7 +174,9 @@ void NetSessions::NextPacket(double t, const Packet* pkt)
DoNextPacket(t, pkt, &ip_hdr, nullptr); 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); Weird("unknown_packet_type", pkt);
return; return;