From: Andy Zhou <[email protected]>

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 <[email protected]>
---
 include/openflow/openflow-1.3.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/openflow/openflow-1.3.h b/include/openflow/openflow-1.3.h
index 4696f01..8e9f6f7 100644
--- a/include/openflow/openflow-1.3.h
+++ b/include/openflow/openflow-1.3.h
@@ -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);
 
-- 
1.7.9.5

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to