mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
scripts: Migrate table iteration to blank identifiers
No obvious hot-cases. Maybe the describe_file() ones or the intel ones if/when there are hot intel hits.
This commit is contained in:
parent
46334f8b59
commit
8c5896a74d
17 changed files with 47 additions and 47 deletions
|
@ -81,7 +81,7 @@ function describe_file(f: fa_file): string
|
|||
# are already populated).
|
||||
#
|
||||
# Just return a bit of our connection information and hope that that is good enough.
|
||||
for ( cid, c in f$conns )
|
||||
for ( _, c in f$conns )
|
||||
{
|
||||
if ( c?$ssl )
|
||||
{
|
||||
|
@ -138,7 +138,7 @@ event file_sniff(f: fa_file, meta: fa_metadata) &priority=5
|
|||
|
||||
local c: connection &is_assigned; # to help static analysis
|
||||
|
||||
for ( cid, c in f$conns )
|
||||
for ( _, c in f$conns )
|
||||
{
|
||||
if ( ! c?$ssl )
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue