mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
19 lines
237 B
Text
19 lines
237 B
Text
# @TEST-EXEC: bro -b %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
|
|
event bro_init()
|
|
{
|
|
local h1: addr = 1.2.3.4;
|
|
|
|
when ( local h1name = lookup_addr(h1) )
|
|
{
|
|
print "lookup successful";
|
|
}
|
|
timeout 3 secs
|
|
{
|
|
print "timeout";
|
|
}
|
|
|
|
}
|
|
|