From 0283336539d2cb46b6aff94ef7bba766aaa4de82 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 11 Mar 2011 11:56:25 -0800 Subject: [PATCH] ovs-ofctl: Use ovs_be32 for big-endian variable. --- utilities/ovs-ofctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c index cd44cd8be..4422738bd 100644 --- a/utilities/ovs-ofctl.c +++ b/utilities/ovs-ofctl.c @@ -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"); -- 2.20.1