diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-11-22 16:33:18 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-11-23 11:38:04 +0900 |
commit | 569756639b79549ea78c363209486f0d05704ab7 (patch) | |
tree | 15ff592dfac3c7cfb94e1ff97c53766912f11df3 | |
parent | cdf42180a62a36d729d76a9093cfb5792ada3b56 (diff) |
of1.3: fix OFPQueueProp
File "/Users/fujita/git/ryu/ryu/ofproto/ofproto_v1_3_parser.py", line 1398, in register_queue_property
return _register_queue_property
NameError: global name '_register_queue_property' is not defined
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 23ae42b5..8c87ce79 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ryu/ofproto/ofproto_v1_3_parser.py @@ -1390,7 +1390,7 @@ class OFPQueueProp(OFPQueuePropHeader): @staticmethod def register_queue_property(property_, len_): - def _register_property(cls): + def _register_queue_property(cls): cls.cls_property = property_ cls.cls_len = len_ OFPQueueProp._QUEUE_PROP_PROPERTIES[cls.cls_property] = cls |