summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorland <mqy_bs@hotmail.com>2017-11-20 12:12:29 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-11-28 11:30:13 +0900
commit7f6d8730ab321412e410f0eb65b8fba6947cd380 (patch)
tree996abba53884995b3a7bfd854233fe395e24111a
parent9aa56ef3bdf8ef6adeaf5c20418de603b69f3658 (diff)
fix bug in the example of flow_stats_reply
Signed-off-by: morland <mqy_bs@hotmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_0_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ryu/ofproto/ofproto_v1_0_parser.py b/ryu/ofproto/ofproto_v1_0_parser.py
index 1c10bdae..4da5a072 100644
--- a/ryu/ofproto/ofproto_v1_0_parser.py
+++ b/ryu/ofproto/ofproto_v1_0_parser.py
@@ -2197,12 +2197,12 @@ class OFPFlowStatsReply(OFPStatsReply):
'idle_timeout=%d hard_timeout=%d '
'cookie=%d packet_count=%d byte_count=%d '
'actions=%s' %
- (stat.table_id,
+ (stat.table_id, stat.match,
stat.duration_sec, stat.duration_nsec,
stat.priority,
stat.idle_timeout, stat.hard_timeout,
stat.cookie, stat.packet_count, stat.byte_count,
- stat.match, stat.actions))
+ stat.actions))
self.logger.debug('FlowStats: %s', flows)
"""
def __init__(self, datapath):