of1.2: pretty OFPGetConfigReply parser
Make OFPGetConfigReply parser consistent with the rest Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
b49ccfc11b
commit
1eb52f7671
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user