mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Add VXLAN packet analyzer, disable old analyzer
This commit is contained in:
parent
cbb0bcd49c
commit
05574ecce1
22 changed files with 194 additions and 29 deletions
|
@ -41,10 +41,10 @@ void UDPAnalyzer::Initialize()
|
|||
{
|
||||
IPBasedAnalyzer::Initialize();
|
||||
|
||||
const auto& id = detail::global_scope()->Find("Tunnel::vxlan_ports");
|
||||
const auto& id = detail::global_scope()->Find("PacketAnalyzer::VXLAN::vxlan_ports");
|
||||
|
||||
if ( ! (id && id->GetVal()) )
|
||||
reporter->FatalError("Tunnel::vxlan_ports not defined");
|
||||
reporter->FatalError("PacketAnalyzer::VXLAN::vxlan_ports not defined");
|
||||
|
||||
auto table_val = id->GetVal()->AsTableVal();
|
||||
auto port_list = table_val->ToPureListVal();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue