mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 20:36:10 +02:00
of1.3: fix OFPPacketQueue
File "/Users/fujita/git/ryu/ryu/ofproto/ofproto_v1_3_parser.py", line 2649, in OFPPacketQueue
@clasmethod
NameError: name 'clasmethod' is not defined
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
11dad834a0
commit
2bd4e3003c
@ -1454,7 +1454,7 @@ class OFPPacketQueue(MsgBase):
|
||||
def __init__(self, datapath):
|
||||
super(OFPPacketQueue, self).__init__(datapath)
|
||||
|
||||
@clasmethod
|
||||
@classmethod
|
||||
def parser(cls, buf, offset):
|
||||
(msg.queue_id, msg.port, msg.len) = struct.unpack_from(
|
||||
ofproto_v1_3.OFP_PACKET_QUEUE_PACK_STR, buf, offset)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user