mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
remove the byte_len and length bifs
This commit is contained in:
parent
a2556642e6
commit
986b346e3f
8 changed files with 6 additions and 74 deletions
|
@ -32,7 +32,7 @@ event log_http(rec: HTTP::Info)
|
|||
{
|
||||
# Data is returned as "<dateFirstDetected> <detectionRate>"
|
||||
local MHR_answer = split1(MHR_result, / /);
|
||||
if ( length(MHR_answer) == 2 && to_count(MHR_answer[2]) >= MHR_threshold )
|
||||
if ( |MHR_answer| == 2 && to_count(MHR_answer[2]) >= MHR_threshold )
|
||||
{
|
||||
local url = HTTP::build_url_http(rec);
|
||||
local message = fmt("%s %s %s", rec$id$orig_h, rec$md5, url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue