Improve packet analysis data flow.

This commit is contained in:
Jan Grashoefer 2020-08-31 20:28:06 +02:00 committed by Tim Wojtulewicz
parent 90eb97876f
commit 38337d799b
43 changed files with 141 additions and 176 deletions

View file

@ -128,7 +128,8 @@ void Manager::ProcessPacket(Packet* packet)
return;
}
auto result = analyzer->AnalyzePacket(packet->cap_len, packet->data, packet);
if ( ! analyzer->AnalyzePacket(packet->cap_len, packet->data, packet) )
packet->InvalidateLayer2();
}
AnalyzerPtr Manager::InstantiateAnalyzer(const Tag& tag)