fix OFPMatch decode error in 'parser' function of OFPFlowRemoved

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Zhang Dongya 2013-03-03 12:04:48 +00:00 committed by FUJITA Tomonori
parent c4ddf50b68
commit a119198f7a

View File

@ -1378,7 +1378,7 @@ class OFPFlowRemoved(MsgBase):
offset = (ofproto_v1_3.OFP_FLOW_REMOVED_SIZE -
ofproto_v1_3.OFP_MATCH_SIZE)
msg.match = OFPMatch(buf, offset)
msg.match = OFPMatch.parser(msg.buf, offset)
return msg