Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/ofproto/ofproto_v1_3_parser.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ryu/ofproto/ofproto_v1_3_parser.py 
b/ryu/ofproto/ofproto_v1_3_parser.py
index 12c41df..6ab9e1a 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -2379,7 +2379,11 @@ class 
OFPGroupFeaturesStats(collections.namedtuple('OFPGroupFeaturesStats', (
     def parser(cls, buf, offset):
         group_features = struct.unpack_from(
             ofproto_v1_3.OFP_GROUP_FEATURES_PACK_STR, buf, offset)
-        stats = cls(*group_features)
+        types = group_features[0]
+        capabilities = group_features[1]
+        max_groups = list(group_features[2:6])
+        actions = list(group_features[6:10])
+        stats = cls(types, capabilities, max_groups, actions)
         stats.length = ofproto_v1_3.OFP_GROUP_FEATURES_SIZE
         return stats
 
-- 
1.8.1.5


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to