mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00

- ConnAckMsg return_code wasn't passed as a count on accident. - Some renaming items were missing due to the age of this code.
25 lines
552 B
C++
25 lines
552 B
C++
// See the file in the main distribution directory for copyright.
|
|
|
|
#include "plugin/Plugin.h"
|
|
|
|
#include "MQTT.h"
|
|
|
|
namespace plugin {
|
|
namespace Zeek_MQTT {
|
|
|
|
class Plugin : public plugin::Plugin {
|
|
public:
|
|
plugin::Configuration Configure()
|
|
{
|
|
AddComponent(new ::analyzer::Component("MQTT",
|
|
::analyzer::MQTT::MQTT_Analyzer::InstantiateAnalyzer));
|
|
|
|
plugin::Configuration config;
|
|
config.name = "Zeek::MQTT";
|
|
config.description = "Message Queuing Telemetry Transport v3.1.1 Protocol analyzer";
|
|
return config;
|
|
}
|
|
} plugin;
|
|
|
|
}
|
|
}
|