of1.3: fix serializer of OFPSetAsync

The pack format of OFPSetAsync requires 6 arguments.

Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Yoshihiro Kaneko 2013-05-03 18:05:09 +09:00 committed by FUJITA Tomonori
parent c78d174a63
commit deccd3151a

View File

@ -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])