mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
get_dns_stats: Expose total cache size and cached text entries
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.
This commit is contained in:
parent
16bdcd27bd
commit
2251c67e56
6 changed files with 16 additions and 0 deletions
|
@ -209,6 +209,7 @@ public:
|
|||
unsigned long cached_hosts;
|
||||
unsigned long cached_addresses;
|
||||
unsigned long cached_texts;
|
||||
unsigned long cached_total;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue