[ovs-dev] [resubmit 1/4] ofproto: flow_stats_ds() print flows properly.

Ethan Jackson ethan at nicira.com
Mon Feb 14 22:05:58 UTC 2011


---
 ofproto/ofproto.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index 39d3457..305af35 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_format(results, ",");
     if (act_len > 0) {
         ofp_print_actions(results, &rule->actions->header, act_len);
     } else {
-- 
1.7.4





More information about the dev mailing list