Remove now-unused Packet::l2_valid field

This commit is contained in:
Tim Wojtulewicz 2020-11-06 09:29:42 -07:00
parent b3eb63c48a
commit 04dbc8e8be
3 changed files with 8 additions and 27 deletions

View file

@ -101,8 +101,8 @@ void Manager::ProcessPacket(Packet* packet)
}
// Start packet analysis
packet->l2_valid = root_analyzer->ForwardPacket(packet->cap_len, packet->data,
packet, packet->link_type);
root_analyzer->ForwardPacket(packet->cap_len, packet->data,
packet, packet->link_type);
if ( raw_packet )
event_mgr.Enqueue(raw_packet, packet->ToRawPktHdrVal());