Remove Manager::Reset() method

This commit is contained in:
Tim Wojtulewicz 2020-07-16 08:57:31 -07:00
parent bd6d3e0112
commit d22481aef3
2 changed files with 1 additions and 8 deletions

View file

@ -186,7 +186,7 @@ void Manager::ProcessPacket(Packet* packet)
CustomEncapsulationSkip(packet);
// Processing finished, reset analyzer set state for next packet
Reset();
current_state = root_dispatcher;
}
void Manager::CustomEncapsulationSkip(Packet* packet)
@ -250,11 +250,6 @@ AnalyzerPtr Manager::Dispatch(identifier_t identifier)
}
}
void Manager::Reset()
{
current_state = root_dispatcher;
}
DispatcherPtr Manager::GetDispatcher(Config& configuration, const std::string& dispatcher_name)
{
// Is it already created?

View file

@ -99,8 +99,6 @@ private:
AnalyzerPtr Dispatch(identifier_t identifier);
void Reset();
DispatcherPtr GetDispatcher(Config& configuration, const std::string& dispatcher_name);
std::map<std::string, AnalyzerPtr> analyzers;