projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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 ab5d476b6cd0a99562053ea37a18dc527f297e6c..ab9a835e6161eafe242e5760bd9bff568023674d 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);
+ } else {
+ ds_put_cstr(results, "drop");
}
ds_put_cstr(results, "\n");
}