mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
move openflow to use subnets instead of addr for matches.
This commit is contained in:
parent
0e7ebffacf
commit
c42fbdab12
5 changed files with 13 additions and 11 deletions
|
@ -26,6 +26,8 @@ function to_json(v: any, only_loggable: bool &default=F, field_escape_pattern: p
|
|||
return cat(port_to_count(to_port(cat(v))));
|
||||
|
||||
case "addr":
|
||||
fallthrough;
|
||||
case "subnet":
|
||||
return cat("\"", v, "\"");
|
||||
|
||||
case "int":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue