summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/ofproto/ofproto_v1_3.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ryu/ofproto/ofproto_v1_3.py b/ryu/ofproto/ofproto_v1_3.py
index 6ab4049a..c9f34ded 100644
--- a/ryu/ofproto/ofproto_v1_3.py
+++ b/ryu/ofproto/ofproto_v1_3.py
@@ -526,11 +526,11 @@ DESC_STR_LEN_STR = str(DESC_STR_LEN)
SERIAL_NUM_LEN = 32
SERIAL_NUM_LEN_STR = str(SERIAL_NUM_LEN)
OFP_DESC_PACK_STR = '!' + \
- DESC_STR_LEN + 'c' + \
- DESC_STR_LEN + 'c' + \
- DESC_STR_LEN + 'c' + \
- SERIAL_NUM_LEN + 'c' + \
- DESC_STR_LEN + 'c'
+ DESC_STR_LEN_STR + 'c' + \
+ DESC_STR_LEN_STR + 'c' + \
+ DESC_STR_LEN_STR + 'c' + \
+ SERIAL_NUM_LEN_STR + 'c' + \
+ DESC_STR_LEN_STR + 'c'
OFP_DESC_SIZE = 1056
assert calcsize(OFP_DESC_PACK_STR) == OFP_DESC_SIZE