From a119198f7aed09885d8292e7d4ddcfd02274fec3 Mon Sep 17 00:00:00 2001 From: Zhang Dongya Date: Sun, 3 Mar 2013 12:04:48 +0000 Subject: [PATCH] fix OFPMatch decode error in 'parser' function of OFPFlowRemoved Signed-off-by: FUJITA Tomonori --- ryu/ofproto/ofproto_v1_3_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index 3f4ed99e..a86addc3 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ryu/ofproto/ofproto_v1_3_parser.py @@ -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