mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-10 14:56:11 +02:00
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>
This commit is contained in:
parent
cdf42180a6
commit
569756639b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user