git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
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
e4c3528
..
31c8b62
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 {