mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
make raw reading work.
apparently there was a crash in the reader plugin, but main bro did not notice but waited for eternity for it do to something.
This commit is contained in:
parent
57ffe1be77
commit
367c4b4a7e
3 changed files with 17 additions and 19 deletions
|
@ -220,11 +220,8 @@ bool Manager::CreateStream(Filter* info, RecordVal* description)
|
|||
info->name = name;
|
||||
info->source = source;
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
DBG_LOG(DBG_INPUT, "Successfully created new input stream %s",
|
||||
name.c_str());
|
||||
#endif
|
||||
DBG_LOG(DBG_INPUT, "Successfully created new input stream %s",
|
||||
name.c_str());
|
||||
|
||||
return true;
|
||||
|
||||
|
@ -334,6 +331,10 @@ bool Manager::CreateEventStream(RecordVal* fval) {
|
|||
filter->reader->Init(filter->source, filter->mode, filter->num_fields, logf );
|
||||
|
||||
readers[filter->reader] = filter;
|
||||
|
||||
DBG_LOG(DBG_INPUT, "Successfully created event stream %s",
|
||||
filter->name.c_str());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -482,12 +483,9 @@ bool Manager::CreateTableStream(RecordVal* fval) {
|
|||
filter->reader->Init(filter->source, filter->mode, fieldsV.size(), fields );
|
||||
|
||||
readers[filter->reader] = filter;
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
DBG_LOG(DBG_INPUT, "Successfully created table stream %s",
|
||||
filter->name.c_str());
|
||||
#endif
|
||||
DBG_LOG(DBG_INPUT, "Successfully created table stream %s",
|
||||
filter->name.c_str());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue