summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-07-24 11:55:45 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-07-24 11:57:45 +0900
commit70e4fa08885857a203d1bfd8406ed14e7ab64d2b (patch)
tree862e8b62f7895e966081f92376e6ac0f67e851f7
parent6b8add751d38719fce7d536020b93248edb4ca87 (diff)
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>
-rw-r--r--ryu/ofproto/ofproto_v1_3_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py
index 1bfb34dd..4ea91ff2 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -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)