mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00
GH-1036: change print.log to log network time instead of current
This commit is contained in:
parent
eb1a408b6a
commit
54d8954c80
2 changed files with 2 additions and 2 deletions
|
@ -215,7 +215,7 @@ static void print_log(const std::vector<IntrusivePtr<Val>>& vals)
|
|||
vec->Assign(vec->Size(), make_intrusive<StringVal>(d.Description()));
|
||||
}
|
||||
|
||||
record->Assign(0, make_intrusive<TimeVal>(current_time()));
|
||||
record->Assign(0, make_intrusive<TimeVal>(network_time));
|
||||
record->Assign(1, std::move(vec));
|
||||
log_mgr->Write(plval.get(), record.get());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue