summaryrefslogtreecommitdiff
path: root/utilities
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-08-08 14:46:38 -0700
committerBen Pfaff <blp@nicira.com>2011-08-09 13:53:21 -0700
commita9a2da38941ea4d312559543a3fb813d8fe7fd4e (patch)
tree1bf04d027bcb62b1f7234dc8b1d1ed75e28556fa /utilities
parentbe86ea7aa98b87079e266c91d139612fa8543edd (diff)
downloadopenvswitch-a9a2da38941ea4d312559543a3fb813d8fe7fd4e.tar.gz
ofp-util: Rename struct flow_mod to struct ofputil_flow_mod.
Most of the structs in ofp-util.h have the ofputil_ prefix. Rename this one for consistency.
Diffstat (limited to 'utilities')
-rw-r--r--utilities/ovs-ofctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c
index d7c88b682..fded6df5f 100644
--- a/utilities/ovs-ofctl.c
+++ b/utilities/ovs-ofctl.c
@@ -1041,8 +1041,8 @@ read_flows_from_file(const char *filename, struct classifier *cls, int index)
min_flow_format = NXFF_OPENFLOW10;
while (!ds_get_preprocessed_line(&s, file)) {
struct fte_version *version;
+ struct ofputil_flow_mod fm;
enum nx_flow_format min_ff;
- struct flow_mod fm;
parse_ofp_str(&fm, OFPFC_ADD, ds_cstr(&s), true);
@@ -1152,7 +1152,7 @@ fte_make_flow_mod(const struct fte *fte, int index, uint16_t command,
enum nx_flow_format flow_format, struct list *packets)
{
const struct fte_version *version = fte->versions[index];
- struct flow_mod fm;
+ struct ofputil_flow_mod fm;
struct ofpbuf *ofm;
fm.cr = fte->rule;