move event Intel::read_entry to export block

This commit is contained in:
Mauro Palumbo 2019-08-06 11:15:47 +02:00
parent 3080290a5e
commit 1011abd5e0

View file

@ -20,12 +20,13 @@ export {
## any path_prefix specified in the input framework will apply ## any path_prefix specified in the input framework will apply
## additionally. ## additionally.
const path_prefix = "" &redef; const path_prefix = "" &redef;
}
event Intel::read_entry(desc: Input::EventDescription, tpe: Input::Event, item: Intel::Item) event Intel::read_entry(desc: Input::EventDescription, tpe: Input::Event, item: Intel::Item)
{ {
Intel::insert(item); Intel::insert(item);
} }
}
event zeek_init() &priority=5 event zeek_init() &priority=5
{ {