From: YAMAMOTO Takashi Date: Wed, 25 Sep 2013 04:39:48 +0000 (+0900) Subject: for ovs-appctl bridge/dump-flows, don't show "priority" twice X-Git-Tag: v2.1.0~550 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=23b39e12eebf1618d6634003d41fc84b761f608b;p=cascardo%2Fovs.git for ovs-appctl bridge/dump-flows, don't show "priority" twice before the change: duration=2110s, priority=0, n_packets=3151646, n_bytes=3104180388, \ priority=0,actions=CONTROLLER:65535 table_id=254, duration=2136s, priority=0, n_packets=0, n_bytes=0, \ priority=0,reg0=0x3,actions=drop table_id=254, duration=2136s, priority=0, n_packets=0, n_bytes=0, \ priority=0,reg0=0x1,actions=controller(reason=no_match) table_id=254, duration=2136s, priority=0, n_packets=0, n_bytes=0, \ priority=0,reg0=0x2,actions=drop after the change: duration=2924s, n_packets=5316116, n_bytes=5260045454, \ priority=0,actions=CONTROLLER:65535 table_id=254, duration=2924s, n_packets=0, n_bytes=0, \ priority=0,reg0=0x3,actions=drop table_id=254, duration=2924s, n_packets=0, n_bytes=0, \ priority=0,reg0=0x1,actions=controller(reason=no_match) table_id=254, duration=2924s, n_packets=0, n_bytes=0, \ priority=0,reg0=0x2,actions=drop (i wrapped long lines by hand) Signed-off-by: YAMAMOTO Takashi Signed-off-by: Ben Pfaff --- diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index f305710d4..ae3928386 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -3490,7 +3490,6 @@ flow_stats_ds(struct rule *rule, struct ds *results) ds_put_format(results, "table_id=%"PRIu8", ", rule->table_id); } ds_put_format(results, "duration=%llds, ", (time_msec() - created) / 1000); - ds_put_format(results, "priority=%u, ", rule->cr.priority); ds_put_format(results, "n_packets=%"PRIu64", ", packet_count); ds_put_format(results, "n_bytes=%"PRIu64", ", byte_count); cls_rule_format(&rule->cr, results);