diff options
author | Atzm Watanabe <atzm@stratosphere.co.jp> | 2013-10-08 15:48:25 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-10-08 15:36:38 +0900 |
commit | 0f00d06c54ec907805c23884e3bf5950ba422aa7 (patch) | |
tree | 0c7af47d08ca0b0c175390eb4a65ae3ac157bfa4 | |
parent | b9c1fdb0d8e660ae31c2b66f1041e0570699b71a (diff) |
of13: fix InstructionMeter parser
When using of1.3 meter, NameError is caused while parsing instructions.
Signed-off-by: Atzm Watanabe <atzm@stratosphere.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/ofproto/ofproto_v1_3_parser.py | 2 |
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 e8c11bac..6a6035d9 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ryu/ofproto/ofproto_v1_3_parser.py @@ -2526,7 +2526,7 @@ class OFPInstructionMeter(StringifyMixin): @classmethod def parser(cls, buf, offset): - (type_, len_, table_id) = struct.unpack_from( + (type_, len_, meter_id) = struct.unpack_from( ofproto_v1_3.OFP_INSTRUCTION_METER_PACK_STR, buf, offset) return cls(meter_id) |