mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Add SkipAnalyzer.
This is WIP: The test case would require a new pcap or the possibility to overwrite analyzer mappings. The CustomEncapsulationSkip method and the corresponding options need to be removed.
This commit is contained in:
parent
6f6e5b4df0
commit
fc814bd7e2
11 changed files with 113 additions and 1 deletions
|
@ -48,6 +48,7 @@ bool Dispatcher::Register(uint32_t identifier, AnalyzerPtr analyzer)
|
|||
}
|
||||
|
||||
int64_t index = identifier - lowest_identifier;
|
||||
//TODO: Allow to overwrite mappings?
|
||||
if ( table[index] == nullptr )
|
||||
{
|
||||
table[index] = analyzer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue