diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-08-06 08:26:22 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-08-06 14:29:49 +0900 |
commit | 1eb52f7671907f94e12e0a8860e8e05d892f8227 (patch) | |
tree | cde939c68e0f545aaef95b6492d0847cb4963689 | |
parent | b49ccfc11bf2c3a9b465c4697eb8c10e9f95c903 (diff) |
of1.2: pretty OFPGetConfigReply parser
Make OFPGetConfigReply parser consistent with the rest
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/ofproto/ofproto_v1_2_parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index f5a1b242..68b772c7 100644 --- a/ryu/ofproto/ofproto_v1_2_parser.py +++ b/ryu/ofproto/ofproto_v1_2_parser.py @@ -202,7 +202,7 @@ class OFPGetConfigReply(MsgBase): msg = super(OFPGetConfigReply, cls).parser(datapath, version, msg_type, msg_len, xid, buf) msg.flags, msg.miss_send_len = struct.unpack_from( - ofproto_v1_2.OFP_SWITCH_CONFIG_PACK_STR, buf, + ofproto_v1_2.OFP_SWITCH_CONFIG_PACK_STR, msg.buf, ofproto_v1_2.OFP_HEADER_SIZE) return msg |