mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Use explicit path name for NTP log stream
For consistency (we do this for all other logs) and just to avoid the extra path function calls.
This commit is contained in:
parent
cf05b1d7dc
commit
81ab0b0d05
4 changed files with 19 additions and 18 deletions
|
@ -59,7 +59,7 @@ redef likely_server_ports += { ports };
|
|||
event zeek_init() &priority=5
|
||||
{
|
||||
Analyzer::register_for_ports(Analyzer::ANALYZER_NTP, ports);
|
||||
Log::create_stream(NTP::LOG, [$columns = Info, $ev = log_ntp]);
|
||||
Log::create_stream(NTP::LOG, [$columns = Info, $ev = log_ntp, $path="ntp"]);
|
||||
}
|
||||
|
||||
event ntp_message(c: connection, is_orig: bool, msg: NTP::Message) &priority=5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue