mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Update deprecated ValManager::GetBool usages
This commit is contained in:
parent
9af84bb2b0
commit
d9edd855da
68 changed files with 370 additions and 370 deletions
|
@ -43,7 +43,7 @@ function precompile_pcap_filter%(id: PcapFilterID, s: string%): bool
|
|||
if ( ps && ! ps->PrecompileFilter(id->ForceAsInt(), s->CheckString()) )
|
||||
success = false;
|
||||
|
||||
return val_mgr->GetBool(success);
|
||||
return val_mgr->Bool(success);
|
||||
%}
|
||||
|
||||
## Installs a PCAP filter that has been precompiled with
|
||||
|
@ -72,7 +72,7 @@ function Pcap::install_pcap_filter%(id: PcapFilterID%): bool
|
|||
if ( ps && ! ps->SetFilter(id->ForceAsInt()) )
|
||||
success = false;
|
||||
|
||||
return val_mgr->GetBool(success);
|
||||
return val_mgr->Bool(success);
|
||||
%}
|
||||
|
||||
## Returns a string representation of the last PCAP error.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue