mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Increase size of proto fields to uint16_t, add common default value
This commit is contained in:
parent
f762a45e83
commit
d0896e81d6
36 changed files with 110 additions and 110 deletions
|
@ -448,8 +448,7 @@ event flow_weird(name: string, src: addr, dst: addr, addl: string, source: strin
|
|||
# We add the source and destination as port 0/unknown because that is
|
||||
# what fits best here.
|
||||
local id = conn_id($orig_h=src, $orig_p=count_to_port(0, unknown_transport),
|
||||
$resp_h=dst, $resp_p=count_to_port(0, unknown_transport),
|
||||
$proto=256);
|
||||
$resp_h=dst, $resp_p=count_to_port(0, unknown_transport));
|
||||
|
||||
local i = Info($ts=network_time(), $name=name, $id=id, $identifier=flow_id_string(src,dst));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue