mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Merge remote-tracking branch 'origin/topic/seth/zeek_init'
* origin/topic/seth/zeek_init: Some more testing fixes. Update docs and tests for bro_(init|done) -> zeek_(init|done) Implement the zeek_init handler.
This commit is contained in:
commit
a994be9eeb
628 changed files with 868 additions and 1082 deletions
|
@ -18,7 +18,7 @@ cat >scripts/Demo/Foo/__load__.zeek <<EOF
|
|||
EOF
|
||||
|
||||
cat >scripts/Demo/Foo/manually.zeek <<EOF
|
||||
event bro_init() &priority=-10
|
||||
event zeek_init() &priority=-10
|
||||
{
|
||||
print "plugin: manually loaded";
|
||||
print "calling bif", hello_plugin_world();
|
||||
|
@ -26,7 +26,7 @@ event bro_init() &priority=-10
|
|||
EOF
|
||||
|
||||
cat >scripts/Demo/Foo/base/at-startup.zeek <<EOF
|
||||
event bro_init() &priority=10
|
||||
event zeek_init() &priority=10
|
||||
{
|
||||
print "plugin: automatically loaded at startup";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue