mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Accidentally missed a change.
This commit is contained in:
parent
552a24e07c
commit
69bbcfedb3
1 changed files with 1 additions and 1 deletions
|
@ -1993,7 +1993,7 @@ ValPtr TableVal::FindOrDefault(const ValPtr& index)
|
|||
|
||||
bool TableVal::Contains(const IPAddr& addr)
|
||||
{
|
||||
return subnets ? subnets->Lookup(addr, true) : false;
|
||||
return subnets ? subnets->Lookup(addr, true) != 0 : false;
|
||||
}
|
||||
|
||||
Val* TableVal::Lookup(Val* index, bool use_default_val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue