mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Merge branch 'topic/bernhard/log-send-proto' into topic/bernhard/log-threads
Send protocol type to log writers - the ascii writer simply ignores this, but the input reader needs support for this. Conflicts: src/LogMgr.h src/logging/Manager.cc
This commit is contained in:
commit
115e6a18b4
4 changed files with 37 additions and 4 deletions
|
@ -850,7 +850,8 @@ threading::Value* Manager::ValToLogVal(Val* val, BroType* ty)
|
|||
break;
|
||||
|
||||
case TYPE_PORT:
|
||||
lval->val.uint_val = val->AsPortVal()->Port();
|
||||
lval->val.port_val.port = val->AsPortVal()->Port();
|
||||
lval->val.port_val.proto = val->AsPortVal()->PortType();
|
||||
break;
|
||||
|
||||
case TYPE_SUBNET:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue