From 7f6d8730ab321412e410f0eb65b8fba6947cd380 Mon Sep 17 00:00:00 2001 From: morland Date: Mon, 20 Nov 2017 12:12:29 +0000 Subject: fix bug in the example of flow_stats_reply Signed-off-by: morland Signed-off-by: FUJITA Tomonori --- ryu/ofproto/ofproto_v1_0_parser.py | 4 ++-- 1 file 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): -- cgit v1.2.3