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:
7223886
)
ofproto: Print "drop" action when dumping hidden flows
author
Justin Pettit
<jpettit@nicira.com>
Thu, 21 Oct 2010 17:07:12 +0000
(10:07 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Tue, 26 Oct 2010 20:57:21 +0000
(13:57 -0700)
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index
ab5d476
..
ab9a835
100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-3346,6
+3346,8
@@
flow_stats_ds_cb(struct cls_rule *rule_, void *cbdata_)
ofp_print_match(results, &match, true);
if (act_len > 0) {
ofp_print_actions(results, &rule->actions->header, act_len);
ofp_print_match(results, &match, true);
if (act_len > 0) {
ofp_print_actions(results, &rule->actions->header, act_len);
+ } else {
+ ds_put_cstr(results, "drop");
}
ds_put_cstr(results, "\n");
}
}
ds_put_cstr(results, "\n");
}