The pack format of OFPSetAsync requires 6 arguments.

Signed-off-by: Yoshihiro Kaneko <[email protected]>
---
 ryu/ofproto/ofproto_v1_3_parser.py |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ryu/ofproto/ofproto_v1_3_parser.py 
b/ryu/ofproto/ofproto_v1_3_parser.py
index 5347db9..c2d6500 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -2847,5 +2847,6 @@ class OFPSetAsync(MsgBase):
     def _serialize_body(self):
         msg_pack_into(ofproto_v1_3.OFP_ASYNC_CONFIG_PACK_STR, self.buf,
                       ofproto_v1_3.OFP_HEADER_SIZE,
-                      self.packet_in_mask, self.port_status_mask,
-                      self.flow_removed_mask)
+                      self.packet_in_mask[0], self.packet_in_mask[1],
+                      self.port_status_mask[0], self.port_status_mask[1],
+                      self.flow_removed_mask[0], self.flow_removed_mask[1])
-- 
1.7.9.5


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to