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

It wasn't possible from script land to determine the total size of the cache table held by the DNS_Mgr. Add the total and also also the TEXT entries count.
8 lines
220 B
Text
8 lines
220 B
Text
# @TEST-DOC: With FAKE_DNS mode caching is disabled, so testing is difficult, invoke the bif once at least.
|
|
# @TEST-EXEC: zeek -b %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
event zeek_init()
|
|
{
|
|
print get_dns_stats();
|
|
}
|