summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-11-22 16:33:15 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-11-23 11:38:04 +0900
commiteaf7d478a2fe84dc8120bfe1ab81a5aad50a118c (patch)
tree71c2d77f4ec13f46411051e6a1b7f0d883b8ae62
parent183b62463851e8c6c4aa10034c6333a8875974f6 (diff)
of1.3: fix OFPPortStatsReply
File "/Users/fujita/git/ryu/ryu/ofproto/ofproto_v1_3_parser.py", line 976, in <module> @_set_msg_type(ofproto_v1_3.OFPT_STATS_REPLY) AttributeError: 'module' object has no attribute 'OFPT_STATS_REPLY' Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_3_parser.py2
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 74956de6..6e909c55 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -973,7 +973,7 @@ class OFPPortStatsRequest(OFPMultipartRequest):
@OFPMultipartReply.register_stats_type()
@_set_stats_type(ofproto_v1_3.OFPMP_PORT_STATS, OFPPortStats)
-@_set_msg_type(ofproto_v1_0.OFPT_STATS_REPLY)
+@_set_msg_type(ofproto_v1_3.OFPT_MULTIPART_REPLY)
class OFPPortStatsReply(OFPMultipartReply):
def __init__(self, datapath):
super(OFPPortStatsReply, self).__init__(datapath)