mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Mark all of the aliased classes in plugin/Plugin.h deprecated, and fix all of the plugins that were using them
This commit is contained in:
parent
e77e8c4b7b
commit
7a5dae4354
76 changed files with 297 additions and 284 deletions
|
@ -8,14 +8,14 @@
|
|||
namespace plugin {
|
||||
namespace Zeek_Pcap {
|
||||
|
||||
class Plugin : public plugin::Plugin {
|
||||
class Plugin : public zeek::plugin::Plugin {
|
||||
public:
|
||||
plugin::Configuration Configure() override
|
||||
zeek::plugin::Configuration Configure() override
|
||||
{
|
||||
AddComponent(new ::iosource::PktSrcComponent("PcapReader", "pcap", ::iosource::PktSrcComponent::BOTH, ::iosource::pcap::PcapSource::Instantiate));
|
||||
AddComponent(new ::iosource::PktDumperComponent("PcapWriter", "pcap", ::iosource::pcap::PcapDumper::Instantiate));
|
||||
|
||||
plugin::Configuration config;
|
||||
zeek::plugin::Configuration config;
|
||||
config.name = "Zeek::Pcap";
|
||||
config.description = "Packet acquisition via libpcap";
|
||||
return config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue