mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Use raw pointer for packet analyzer history
This commit is contained in:
parent
b4e83aca8c
commit
c73fcdec3d
2 changed files with 4 additions and 4 deletions
|
@ -181,7 +181,7 @@ public:
|
|||
* The packet analyzer history is implemented in form of a stack, which is reset on a
|
||||
* call to ProcessPacket() but maintained throughout calls to ProcessInnerPacket().
|
||||
*/
|
||||
void TrackAnalyzer(AnalyzerPtr analyzer) { analyzer_stack.push_back(std::move(analyzer)); }
|
||||
void TrackAnalyzer(Analyzer* analyzer) { analyzer_stack.push_back(analyzer); }
|
||||
|
||||
private:
|
||||
/**
|
||||
|
@ -232,7 +232,7 @@ private:
|
|||
uint64_t total_not_processed = 0;
|
||||
iosource::PktDumper* unprocessed_dumper = nullptr;
|
||||
|
||||
std::vector<AnalyzerPtr> analyzer_stack;
|
||||
std::vector<Analyzer*> analyzer_stack;
|
||||
};
|
||||
|
||||
} // namespace packet_analysis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue