Added plugin.unprocessed_packet_hook btest

This commit is contained in:
Tim Wojtulewicz 2021-11-11 14:36:32 -07:00
parent d0f8c50417
commit 6e8dae316b
8 changed files with 540 additions and 2 deletions

View file

@ -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());