diff options
author | Zhang Dongya <fortitude.zhang@gmail.com> | 2013-03-03 12:04:45 +0000 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-03-03 13:59:03 +0900 |
commit | cef3ca93a907cdd164bf0e01544fd6e3ad7a91f1 (patch) | |
tree | 22b735fbfd3f6ac349aabb8f88a5f54e3287c4f4 | |
parent | 6a43111074a61587ce0a69ea79f86d8989efcfd7 (diff) |
fix error in OFP_DESC_PACK_STR (change 'c' to 's')
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/ofproto/ofproto_v1_3.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ryu/ofproto/ofproto_v1_3.py b/ryu/ofproto/ofproto_v1_3.py index 1ff64289..f3c9d5e7 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_STR + 'c' + \ - DESC_STR_LEN_STR + 'c' + \ - DESC_STR_LEN_STR + 'c' + \ - SERIAL_NUM_LEN_STR + 'c' + \ - DESC_STR_LEN_STR + 'c' + DESC_STR_LEN_STR + 's' + \ + DESC_STR_LEN_STR + 's' + \ + DESC_STR_LEN_STR + 's' + \ + SERIAL_NUM_LEN_STR + 's' + \ + DESC_STR_LEN_STR + 's' OFP_DESC_SIZE = 1056 assert calcsize(OFP_DESC_PACK_STR) == OFP_DESC_SIZE |