mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
d'oh, still have a (deprecated) string_array rather than string_vector
This commit is contained in:
parent
2375c0c4be
commit
f7358a3351
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ function find_ip_addresses(input: string): string_array &deprecated
|
||||||
for ( i in parts )
|
for ( i in parts )
|
||||||
{
|
{
|
||||||
if ( i % 2 == 1 && is_valid_ip(parts[i]) )
|
if ( i % 2 == 1 && is_valid_ip(parts[i]) )
|
||||||
output += parts[i];
|
output[|output|] += parts[i];
|
||||||
}
|
}
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue