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 cd44cd8..4422738 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");