Fix OFPActionHeader class 'serialize' method

OFPActionHeader class should have 'serialize' method.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
FUJITA Tomonori 2012-05-07 07:18:34 +09:00
parent 10fcdec3b3
commit 81a894f83a

View File

@ -120,7 +120,7 @@ class OFPActionHeader(object):
self.type = type_
self.len = len_
def serlize(self, buf, offset):
def serialize(self, buf, offset):
msg_pack_into(ofproto_v1_0.OFP_ACTION_HEADER_PACK_STR,
buf, offset, self.type, self.len)