summaryrefslogtreecommitdiff
path: root/ofproto/netflow.c
diff options
context:
space:
mode:
authorJoe Stringer <joestringer@nicira.com>2014-03-06 17:20:24 -0800
committerBen Pfaff <blp@nicira.com>2014-03-11 15:57:10 -0700
commit230f02bc4f892170747fcded9afb85be09360c1a (patch)
tree6c7412f6c49a97f19df387842f12ff96a934c112 /ofproto/netflow.c
parenteb8124885c3c01bfc1c0fa8a53684921f830362d (diff)
downloadopenvswitch-230f02bc4f892170747fcded9afb85be09360c1a.tar.gz
netflow: Make netflow_flow_update() parameter const.
The 'flow' parameter is not modified, so mark it const. Signed-off-by: Joe Stringer <joestringer@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ofproto/netflow.c')
-rw-r--r--ofproto/netflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/netflow.c b/ofproto/netflow.c
index 8259cede3..dcbb84a85 100644
--- a/ofproto/netflow.c
+++ b/ofproto/netflow.c
@@ -170,7 +170,7 @@ gen_netflow_rec(struct netflow *nf, struct netflow_flow *nf_flow,
}
void
-netflow_flow_update(struct netflow *nf, struct flow *flow,
+netflow_flow_update(struct netflow *nf, const struct flow *flow,
ofp_port_t output_iface,
const struct dpif_flow_stats *stats)
OVS_EXCLUDED(mutex)