The implementation of matching on out_port was only half-implemented for
OFPFC_DELETE. It was probably just overlooked. This commit fixes it, by
supplying the other half.
struct rule *rule = rule_from_cls_rule(rule_);
struct modify_flows_cbdata *cbdata = cbdata_;
+ if (cbdata->out_port != htons(OFPP_NONE)
+ && !rule_has_out_port(rule, cbdata->out_port)) {
+ return;
+ }
+
modify_flow(cbdata->ofproto, cbdata->ofm, cbdata->n_actions,
cbdata->command, rule);
}