summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-06-19 15:09:13 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-06-20 06:07:43 +0900
commitcb3823a1521aaa5521f158a184f3dcdf2b4db547 (patch)
treed1279876f6e565123e8122778ae7759e091a0dc5
parent6b2b043c4e458a116ae79024b6ad718f70e567ec (diff)
of12: fix OFPExperimenter parser
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_2_parser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py
index f52c199a..968ff84a 100644
--- a/ryu/ofproto/ofproto_v1_2_parser.py
+++ b/ryu/ofproto/ofproto_v1_2_parser.py
@@ -161,6 +161,7 @@ class OFPExperimenter(MsgBase):
(msg.experimenter, msg.exp_type) = struct.unpack_from(
ofproto_v1_2.OFP_EXPERIMENTER_HEADER_PACK_STR, msg.buf,
ofproto_v1_2.OFP_HEADER_SIZE)
+ msg.data = msg.buf[ofproto_v1_2.OFP_EXPERIMENTER_HEADER_SIZE:]
return msg