diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-11-22 16:33:20 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-11-23 11:38:05 +0900 |
commit | 2bd4e3003c27a5b53d9c182d1d87b23bc1b7800d (patch) | |
tree | 0a21a3b29dbf8b337c8f1e106f526940cefab0fc | |
parent | 11dad834a015d9e10b4bf4de95a723b201dff2a3 (diff) |
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>
-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 d2f175e9..e3fc5885 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ryu/ofproto/ofproto_v1_3_parser.py @@ -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) |