From: Ethan Jackson Date: Mon, 14 Feb 2011 20:10:52 +0000 (-0800) Subject: ofproto: flow_stats_ds() print flows properly. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5df0e72efd8eaaa7867c88614ffb0f8f59f51a2;p=openvswitch ofproto: flow_stats_ds() print flows properly. --- diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index e4c3528a..31c8b621 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 {