mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +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
|
@ -140,9 +140,9 @@ function match_conn(id: conn_id, reverse: bool &default=F): ofp_match
|
|||
return ofp_match(
|
||||
$dl_type=dl_type,
|
||||
$nw_proto=proto,
|
||||
$nw_src=orig_h,
|
||||
$nw_src=addr_to_subnet(orig_h),
|
||||
$tp_src=orig_p,
|
||||
$nw_dst=resp_h,
|
||||
$nw_dst=addr_to_subnet(resp_h),
|
||||
$tp_dst=resp_p
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue