fix OFPQueueGetConfigReply parser
msg.port should not be a tuple. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
fcc066d9cb
commit
936635a1a9
@ -1232,7 +1232,7 @@ class OFPQueueGetConfigReply(MsgBase):
|
|||||||
datapath, version, msg_type, msg_len, xid, buf)
|
datapath, version, msg_type, msg_len, xid, buf)
|
||||||
|
|
||||||
offset = ofproto_v1_0.OFP_HEADER_SIZE
|
offset = ofproto_v1_0.OFP_HEADER_SIZE
|
||||||
msg.port = struct.unpack_from(
|
(msg.port,) = struct.unpack_from(
|
||||||
ofproto_v1_0.OFP_QUEUE_GET_CONFIG_REPLY_PACK_STR, msg.buf, offset)
|
ofproto_v1_0.OFP_QUEUE_GET_CONFIG_REPLY_PACK_STR, msg.buf, offset)
|
||||||
|
|
||||||
msg.queues = []
|
msg.queues = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user