From: Justin Pettit Date: Thu, 21 Oct 2010 17:07:12 +0000 (-0700) Subject: ofproto: Print "drop" action when dumping hidden flows X-Git-Tag: v1.1.0~972 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3c8552c1db717d2018adbc5e17cbf2583f0a6639;p=sliver-openvswitch.git ofproto: Print "drop" action when dumping hidden flows --- diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index ab5d476b6..ab9a835e6 100644 --- 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"); }