mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-17 18:46:44 +02:00
Fix NXAactionOutputReg parser
Pass the proper variable. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
9b8c61f47a
commit
f68cdbfc04
@ -681,7 +681,7 @@ class NXActionOutputReg(NXActionHeader):
|
||||
(type_, len_, vendor, subtype, ofs_nbits, src,
|
||||
max_len) = struct.unpack_from(
|
||||
ofproto_v1_0.NX_ACTION_OUTPUT_REG_PACK_STR, buf, offset)
|
||||
return cls(subtype, ofs_nbits, src)
|
||||
return cls(ofs_nbits, src, max_len)
|
||||
|
||||
|
||||
class OFPDescStats(collections.namedtuple('OFPDescStats',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user