When using of1.3 meter, NameError is caused while parsing instructions.
Signed-off-by: Atzm Watanabe <[email protected]>
---
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 e8c11ba..6a6035d 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)
--
1.7.3.4
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel