openflow: Rename OpenFlow 1.0 statistics messages with "10" infix.
[openvswitch] / utilities / ovs-ofctl.c
index e9ad18166fe840471e9f67dd4ec17d2819b7bd15..258115ec55fa54e5c0832762c1e43232cad83dde 100644 (file)
@@ -954,7 +954,7 @@ ofctl_dump_aggregate(int argc, char *argv[])
 static void
 ofctl_queue_stats(int argc, char *argv[])
 {
-    struct ofp_queue_stats_request *req;
+    struct ofp10_queue_stats_request *req;
     struct ofpbuf *request;
 
     request = ofpraw_alloc(OFPRAW_OFPST_QUEUE_REQUEST, OFP10_VERSION, 0);
@@ -1416,7 +1416,7 @@ ofctl_snoop(int argc OVS_UNUSED, char *argv[])
 static void
 ofctl_dump_ports(int argc, char *argv[])
 {
-    struct ofp_port_stats_request *req;
+    struct ofp10_port_stats_request *req;
     struct ofpbuf *request;
     uint16_t port;