mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 22:06:10 +02:00
of13 OFPMeterMod: fix _len vs len mismatch
reported by Jyry Suuntala on ryu-devel@ Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
6b8add751d
commit
70e4fa0888
@ -2088,7 +2088,7 @@ class OFPMeterMod(MsgBase):
|
||||
offset = ofproto_v1_3.OFP_METER_MOD_SIZE
|
||||
for b in self.bands:
|
||||
b.serialize(self.buf, offset)
|
||||
offset += b.len
|
||||
offset += b._len
|
||||
|
||||
|
||||
@_set_msg_type(ofproto_v1_3.OFPT_TABLE_MOD)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user