mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Fix IRC analyzer supplying wrong type to irc_dcc_message event.
And other IRC policy tweaks.
This commit is contained in:
parent
a73ef6f0e1
commit
063ad9a103
3 changed files with 31 additions and 11 deletions
|
@ -668,9 +668,9 @@ void IRC_Analyzer::DeliverStream(int length, const u_char* line, bool orig)
|
|||
vl->append(new Val(atoi(parts[4].c_str()), TYPE_COUNT));
|
||||
if ( parts.size() >= 6 )
|
||||
vl->append(new Val(atoi(parts[5].c_str()),
|
||||
TYPE_INT));
|
||||
TYPE_COUNT));
|
||||
else
|
||||
vl->append(new Val(0, TYPE_INT));
|
||||
vl->append(new Val(0, TYPE_COUNT));
|
||||
|
||||
ConnectionEvent(irc_dcc_message, vl);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue