From 6a0bd6375660a2ac25ff00d61dddf1a5099bb589 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Tue, 22 Sep 2020 14:22:05 -0700 Subject: [PATCH] Fix Sessions::DoNextPacket to ignore ARP packets and not report weirds for them --- src/Sessions.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Sessions.cc b/src/Sessions.cc index 418e154a9e..64b110e8ee 100644 --- a/src/Sessions.cc +++ b/src/Sessions.cc @@ -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;