mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00
tried enum support - doesn't yet work due to internal bro interface problems...
This commit is contained in:
parent
c8a713da3d
commit
1a642f3568
3 changed files with 8 additions and 1 deletions
|
@ -128,7 +128,6 @@ bool InputReaderAscii::GetLine(string& str) {
|
|||
|
||||
// read the entire file and send appropriate thingies back to InputMgr
|
||||
bool InputReaderAscii::DoUpdate() {
|
||||
|
||||
|
||||
// dirty, fix me. (well, apparently after trying seeking, etc - this is not that bad)
|
||||
if ( file && file->is_open() ) {
|
||||
|
@ -198,6 +197,7 @@ bool InputReaderAscii::DoUpdate() {
|
|||
//bzero(val, sizeof(LogVal));
|
||||
|
||||
switch ( currMapping.type ) {
|
||||
case TYPE_ENUM:
|
||||
case TYPE_STRING:
|
||||
val->val.string_val = new string(s);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue