mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

This also installs symlinks from "zeek" and "bro-config" to a wrapper script that prints a deprecation warning. The btests pass, but this is still WIP. broctl renaming is still missing. #239
13 lines
208 B
Text
13 lines
208 B
Text
#
|
|
# @TEST-EXEC: zeek -b %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
event zeek_init()
|
|
{
|
|
local a = 192.168.0.2;
|
|
local b = 257/tcp;
|
|
print fmt_ftp_port(a, b);
|
|
|
|
a = [fe80::1234];
|
|
print fmt_ftp_port(a, b);
|
|
}
|