dir = ''
end
-include '../lua/classification.lua'
+--include '../lua/classification.lua'
print 'Loading references'
+dofile(dir .. 'classification.lua')
dofile(dir .. 'reference.lua')
default_rules =
p->gterm();
uint8_t index = get_codec(p->base.name);
- //if( index != 0) FIXIT prevents calling dtor()
+ if( index != 0)
{
p->dtor(s_protocols[index]);
s_protocols[index] = nullptr;
config = nullptr;
}
+StreamTcpModule::~StreamTcpModule()
+{
+ for ( auto p : protos )
+ delete p;
+}
+
StreamTcpConfig* StreamTcpModule::get_data()
{
StreamTcpConfig* temp = config;
{
public:
StreamTcpModule();
+ ~StreamTcpModule();
+
bool set(const char*, Value&, SnortConfig*);
bool begin(const char*, int, SnortConfig*);
bool end(const char*, int, SnortConfig*);