projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
289df16
)
ofproto: flow_stats_ds() print flows properly.
author
Ethan Jackson
<ethan@nicira.com>
Mon, 14 Feb 2011 20:10:52 +0000
(12:10 -0800)
committer
Ethan Jackson
<ethan@nicira.com>
Fri, 18 Feb 2011 19:24:22 +0000
(11:24 -0800)
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index e4c3528aeef0e194e4422c35e9b42ffeca11beab..31c8b6210e2f1dbddab9fae028433f8afa12c6af 100644
(file)
--- 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 {