mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Remove Manager::Reset() method
This commit is contained in:
parent
bd6d3e0112
commit
d22481aef3
2 changed files with 1 additions and 8 deletions
|
@ -186,7 +186,7 @@ void Manager::ProcessPacket(Packet* packet)
|
||||||
CustomEncapsulationSkip(packet);
|
CustomEncapsulationSkip(packet);
|
||||||
|
|
||||||
// Processing finished, reset analyzer set state for next packet
|
// Processing finished, reset analyzer set state for next packet
|
||||||
Reset();
|
current_state = root_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Manager::CustomEncapsulationSkip(Packet* packet)
|
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)
|
DispatcherPtr Manager::GetDispatcher(Config& configuration, const std::string& dispatcher_name)
|
||||||
{
|
{
|
||||||
// Is it already created?
|
// Is it already created?
|
||||||
|
|
|
@ -99,8 +99,6 @@ private:
|
||||||
|
|
||||||
AnalyzerPtr Dispatch(identifier_t identifier);
|
AnalyzerPtr Dispatch(identifier_t identifier);
|
||||||
|
|
||||||
void Reset();
|
|
||||||
|
|
||||||
DispatcherPtr GetDispatcher(Config& configuration, const std::string& dispatcher_name);
|
DispatcherPtr GetDispatcher(Config& configuration, const std::string& dispatcher_name);
|
||||||
|
|
||||||
std::map<std::string, AnalyzerPtr> analyzers;
|
std::map<std::string, AnalyzerPtr> analyzers;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue