mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
11 lines
311 B
Text
11 lines
311 B
Text
# @TEST-EXEC: zeek -C -r $TRACES/ntp/NTP_sync.pcap %INPUT
|
|
# @TEST-EXEC: btest-diff ntp.log
|
|
# @TEST-EXEC: btest-diff .stdout
|
|
|
|
@load base/protocols/ntp
|
|
|
|
event ntp_message(c: connection, is_orig: bool, msg: NTP::Message)
|
|
{
|
|
print fmt("ntp_message %s -> %s:%d %s", c$id$orig_h, c$id$resp_h, c$id$resp_p, msg);
|
|
}
|
|
|