ovs-ofctl: Use ovs_be32 for big-endian variable.
authorBen Pfaff <blp@nicira.com>
Fri, 11 Mar 2011 19:56:25 +0000 (11:56 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 18 Mar 2011 21:40:55 +0000 (14:40 -0700)
utilities/ovs-ofctl.c

index cd44cd8be8dcc3419057997a8c6c4ac9c2bc4f0e..4422738bdcd2d96ebff96ba17b86d4cf09dd78ad 100644 (file)
@@ -329,7 +329,7 @@ dump_stats_transaction(const char *vconn_name, struct ofpbuf *request)
     open_vconn(vconn_name, &vconn);
     send_openflow_buffer(vconn, request);
     while (!done) {
-        uint32_t recv_xid;
+        ovs_be32 recv_xid;
         struct ofpbuf *reply;
 
         run(vconn_recv_block(vconn, &reply), "OpenFlow packet receive failed");