From: Simon Horman Date: Fri, 30 Mar 2012 02:29:56 +0000 (+0900) Subject: Use ovs_be32 in nx_flow_mod_table_id X-Git-Tag: sliver-openvswitch-0.1-1~141 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=42c1353f46d59a5bc7b4012c7ab505cc14940f2d;p=sliver-openvswitch.git Use ovs_be32 in nx_flow_mod_table_id This corrects what appears to be an oversight whereby uing32_t is used while all other structures in the file make use of ovs_be* in place of uint*_t. Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h index 902cc6e64..7586a520e 100644 --- a/include/openflow/nicira-ext.h +++ b/include/openflow/nicira-ext.h @@ -193,8 +193,8 @@ enum nx_hash_fields { */ struct nx_flow_mod_table_id { struct ofp_header header; - uint32_t vendor; /* NX_VENDOR_ID. */ - uint32_t subtype; /* NXT_FLOW_MOD_TABLE_ID. */ + ovs_be32 vendor; /* NX_VENDOR_ID. */ + ovs_be32 subtype; /* NXT_FLOW_MOD_TABLE_ID. */ uint8_t set; /* Nonzero to enable, zero to disable. */ uint8_t pad[7]; };