mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Merge remote-tracking branch 'origin/topic/bif_cleanup'
* origin/topic/bif_cleanup: Give mode2string a more generic name. Change some BiF return values from bool to any. Perform type checking on count-to-port conversion. Remove redundant connection_record() BiF. Remove redundant active_connection() BiF. Make exit() parameterizable. to_port() now parses a string instead of a count. Closes #684.
This commit is contained in:
commit
b649ade9ba
5 changed files with 312 additions and 294 deletions
|
@ -103,7 +103,7 @@ event irc_dcc_message(c: connection, is_orig: bool,
|
|||
return;
|
||||
c$irc$dcc_file_name = argument;
|
||||
c$irc$dcc_file_size = size;
|
||||
local p = to_port(dest_port, tcp);
|
||||
local p = count_to_port(dest_port, tcp);
|
||||
expect_connection(to_addr("0.0.0.0"), address, p, ANALYZER_FILE, 5 min);
|
||||
dcc_expected_transfers[address, p] = c$irc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue