summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorZhang Dongya <fortitude.zhang@gmail.com>2013-03-03 12:04:48 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-03-03 13:59:41 +0900
commita119198f7aed09885d8292e7d4ddcfd02274fec3 (patch)
treec29c7665525086d00e783dc94758d30bc10d4baa
parentc4ddf50b689ba18d373a529ab321b3f464dd5e54 (diff)
fix OFPMatch decode error in 'parser' function of OFPFlowRemoved
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_3_parser.py2
1 files changed, 1 insertions, 1 deletions
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