mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Fix get_active_node_count for node types not present.
This commit is contained in:
parent
fe8c2c69b5
commit
e4f654c14c
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ export {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Track active nodes per type.
|
# Track active nodes per type.
|
||||||
global active_node_ids: table[NodeType] of set[string];
|
global active_node_ids: table[NodeType] of set[string] &default=set();
|
||||||
|
|
||||||
function nodes_with_type(node_type: NodeType): vector of NamedNode
|
function nodes_with_type(node_type: NodeType): vector of NamedNode
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue