summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-11-22 16:33:19 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-11-23 11:38:05 +0900
commit11dad834a015d9e10b4bf4de95a723b201dff2a3 (patch)
treec148039b8652b9f33d73773ec8c2e69d5925ef3b
parent569756639b79549ea78c363209486f0d05704ab7 (diff)
of1.3: fix OFPSetAsyn
File "/Users/fujita/git/ryu/ryu/ofproto/ofproto_v1_3_parser.py", line 1555, in <module> @_set_msg_type(ofproto_v1_3.OFPT_SET_ASYNC) AttributeError: 'module' object has no attribute 'OFPT_SET_ASYNC' Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_3.py2
-rw-r--r--ryu/ofproto/ofproto_v1_3_parser.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ryu/ofproto/ofproto_v1_3.py b/ryu/ofproto/ofproto_v1_3.py
index c9f34ded..dd56d603 100644
--- a/ryu/ofproto/ofproto_v1_3.py
+++ b/ryu/ofproto/ofproto_v1_3.py
@@ -57,7 +57,7 @@ OFPT_ROLE_REPLY = 25 # Controller/switch message
OFPT_GET_ASYNC_REQUEST = 26 # Controller/switch message
OFPT_GET_ASYNC_REPLY = 27 # Controller/switch message
-OFPT_GET_ASYNC = 28 # Controller/switch message
+OFPT_SET_ASYNC = 28 # Controller/switch message
OFPT_METER_MOD = 29 # Controller/switch message
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py
index 8c87ce79..d2f175e9 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -1553,7 +1553,7 @@ class OFPGetAsyncReply(MsgBase):
@_register_parser
@_set_msg_type(ofproto_v1_3.OFPT_SET_ASYNC)
-class OFPGetAsyncReply(MsgBase):
+class OFPSetAsync(MsgBase):
def __init__(self, datapath):
super(OFPSetAsync, self).__init__(datapath)