openflow-1.3.h: improve struct ofp13_group_stats definition
authorAndy Zhou <azhou@nicira.com>
Thu, 10 Apr 2014 07:50:34 +0000 (00:50 -0700)
committerAndy Zhou <azhou@nicira.com>
Fri, 11 Apr 2014 01:50:54 +0000 (18:50 -0700)
Uncomment bucket_stats definition in struct ofp13_group_stats
to better match OpenFlow spec 1.3.3's definition on page 91.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
include/openflow/openflow-1.3.h

index 4696f01..8e9f6f7 100644 (file)
@@ -385,10 +385,10 @@ OFP_ASSERT(sizeof(struct ofp13_queue_stats) == 40);
 /* Body of reply to OFPMP13_GROUP request */
 struct ofp13_group_stats {
     struct ofp11_group_stats gs;
-    ovs_be32 duration_sec;    /* NEW: Time group has been alive in seconds. */
-    ovs_be32 duration_nsec;   /* NEW: Time group has been alive in nanoseconds
+    ovs_be32 duration_sec;    /* Time group has been alive in seconds. */
+    ovs_be32 duration_nsec;   /* Time group has been alive in nanoseconds
                                  beyond duration_sec. */
-    /* struct ofp11_bucket_counter bucket_stats[0]; */
+    struct ofp11_bucket_counter bucket_stats[0];
 };
 OFP_ASSERT(sizeof(struct ofp13_group_stats) == 40);