accord with OF1.3.0/1.3.1 spec.

Signed-off-by: Yoshihiro Kaneko <[email protected]>
---
 ryu/ofproto/ofproto_v1_3_parser.py |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ryu/ofproto/ofproto_v1_3_parser.py 
b/ryu/ofproto/ofproto_v1_3_parser.py
index e64a433..447115c 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -2331,7 +2331,7 @@ class OFPGroupDescStats(object):
         self.length = None
         self.type = None
         self.group_id = None
-        self.ofp_bucket = None
+        self.buckets = None
 
     @classmethod
     def parser(cls, buf, offset):
@@ -2341,11 +2341,11 @@ class OFPGroupDescStats(object):
             ofproto_v1_3.OFP_GROUP_DESC_STATS_PACK_STR, buf, offset)
         offset += ofproto_v1_3.OFP_GROUP_DESC_STATS_SIZE
 
-        stats.bucket = []
+        stats.buckets = []
         length = ofproto_v1_3.OFP_GROUP_DESC_STATS_SIZE
         while length < stats.length:
             bucket = OFPBucket.parser(buf, offset)
-            stats.bucket.append(bucket)
+            stats.buckets.append(bucket)
 
             offset += bucket.len
             length += bucket.len
-- 
1.7.9.5


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to