change type of flow_mod entries to count - the type is defined in other

records and this leads to unfortunate problems with external scripts that would
have to convert values into bro port types themseves.
This commit is contained in:
Johanna Amann 2015-05-22 13:37:57 -07:00
parent 5f0a630116
commit b9953e7048
6 changed files with 14 additions and 14 deletions

View file

@ -160,9 +160,9 @@ function match_conn(id: conn_id, reverse: bool &default=F): ofp_match
$dl_type=dl_type,
$nw_proto=proto,
$nw_src=addr_to_subnet(orig_h),
$tp_src=orig_p,
$tp_src=port_to_count(orig_p),
$nw_dst=addr_to_subnet(resp_h),
$tp_dst=resp_p
$tp_dst=port_to_count(resp_p)
);
}

View file

@ -46,9 +46,9 @@ export {
# IP destination address.
nw_dst: subnet &optional;
# TCP/UDP source port.
tp_src: port &optional;
tp_src: count &optional;
# TCP/UDP destination port.
tp_dst: port &optional;
tp_dst: count &optional;
} &log;
## The actions that can be taken in a flow.