summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-07-19 15:32:07 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-07-19 18:14:56 +0900
commita44a947a8725e4798bb0b3947e5021e9c414296f (patch)
tree6af6919b7a24498e07d526b766b5495c3a37690b
parent743387586d801cdde31118c64e4f42e1ccafdf60 (diff)
of13: fix OFPTableFeaturesStats.parser
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_3_parser.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py
index 79944694..c980887b 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -2818,13 +2818,14 @@ class OFPTableFeaturesStats(StringifyMixin):
table_features = cls()
(table_features.length, table_features.table_id,
table_features.name, table_features.metadata_match,
- table_features.write, table_features.config,
- table_features.max_entries, table_features.properties
+ table_features.metadata_write, table_features.config,
+ table_features.max_entries
) = struct.unpack_from(ofproto_v1_3.OFP_TABLE_FEATURES_PACK_STR,
buf, offset)
offset += ofproto_v1_3.OFP_TABLE_FEATURES_SIZE
# TODO: parse ofp_table_feature_prop_header
+ table_features.properties = []
return table_features