summaryrefslogtreecommitdiffhomepage
path: root/ryu/ofproto/ofproto_v1_4.py
diff options
context:
space:
mode:
Diffstat (limited to 'ryu/ofproto/ofproto_v1_4.py')
-rw-r--r--ryu/ofproto/ofproto_v1_4.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/ryu/ofproto/ofproto_v1_4.py b/ryu/ofproto/ofproto_v1_4.py
index 5f83e074..200e9b09 100644
--- a/ryu/ofproto/ofproto_v1_4.py
+++ b/ryu/ofproto/ofproto_v1_4.py
@@ -1414,7 +1414,11 @@ OFPTR_VACANCY_DOWN = 3 # Vacancy down threshold event.
OFPTR_VACANCY_UP = 4 # Vacancy up threshold event.
# struct ofp_table_status
-OFP_TABLE_STATUS_PACK_STR = '!B7x' + _OFP_TABLE_DESC_PACK_STR
+_OFP_TABLE_STATUS_0_PACK_STR = 'B7x'
+OFP_TABLE_STATUS_0_PACK_STR = '!' + _OFP_TABLE_STATUS_0_PACK_STR
+OFP_TABLE_STATUS_0_SIZE = 16
+OFP_TABLE_STATUS_PACK_STR = (OFP_TABLE_STATUS_0_PACK_STR +
+ _OFP_TABLE_DESC_PACK_STR)
OFP_TABLE_STATUS_SIZE = 24
assert (calcsize(OFP_TABLE_STATUS_PACK_STR) + OFP_HEADER_SIZE ==
OFP_TABLE_STATUS_SIZE)