From a5df0e72efd8eaaa7867c88614ffb0f8f59f51a2 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Mon, 14 Feb 2011 12:10:52 -0800 Subject: [PATCH] ofproto: flow_stats_ds() print flows properly. --- ofproto/ofproto.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index e4c3528ae..31c8b6210 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -3668,6 +3668,7 @@ flow_stats_ds(struct ofproto *ofproto, struct rule *rule, struct ds *results) ds_put_format(results, "n_packets=%"PRIu64", ", packet_count); ds_put_format(results, "n_bytes=%"PRIu64", ", byte_count); cls_rule_format(&rule->cr, results); + ds_put_char(results, ','); if (act_len > 0) { ofp_print_actions(results, &rule->actions->header, act_len); } else { -- 2.20.1