mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Move old TCP analyzer into analyzer adapter in packet analysis tree
This commit is contained in:
parent
b171f94729
commit
f6e31107e1
25 changed files with 2243 additions and 2247 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "zeek/plugin/Plugin.h"
|
||||
#include "zeek/packet_analysis/Component.h"
|
||||
#include "zeek/packet_analysis/protocol/tcp/TCP.h"
|
||||
#include "zeek/packet_analysis/protocol/tcp/TCPSessionAdapter.h"
|
||||
|
||||
namespace zeek::plugin::Zeek_TCP {
|
||||
|
||||
|
@ -12,6 +13,8 @@ public:
|
|||
{
|
||||
AddComponent(new zeek::packet_analysis::Component("TCP",
|
||||
zeek::packet_analysis::TCP::TCPAnalyzer::Instantiate));
|
||||
AddComponent(new zeek::analyzer::Component("TCP",
|
||||
zeek::packet_analysis::TCP::TCPSessionAdapter::Instantiate));
|
||||
|
||||
zeek::plugin::Configuration config;
|
||||
config.name = "Zeek::TCP_PKT";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue