mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
Added plugin.unprocessed_packet_hook btest
This commit is contained in:
parent
d0f8c50417
commit
6e8dae316b
8 changed files with 540 additions and 2 deletions
|
@ -282,8 +282,6 @@ void Plugin::HookUnprocessedPacket(const zeek::Packet* packet)
|
|||
d.Add(packet->time);
|
||||
d.Add(" len=");
|
||||
d.Add(packet->len);
|
||||
d.Add(" header=");
|
||||
d.AddN(reinterpret_cast<const char*>(packet->data), 10);
|
||||
d.Add("]");
|
||||
|
||||
fprintf(stderr, "%.6f %-23s %s\n", zeek::run_state::network_time, "| HookUnprocessedPacket", d.Description());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue