Some parts of the code set the NetFlow Output Interface to the
OpenFlow port. Other set it to the datapath port. This patch
consistently sets it to the OpenFlow port.
/* Update NetFlow output port. */
if (ctx->nf_output_iface == NF_OUT_DROP) {
- ctx->nf_output_iface = odp_port;
+ ctx->nf_output_iface = ofp_port;
} else if (ctx->nf_output_iface != NF_OUT_FLOOD) {
ctx->nf_output_iface = NF_OUT_MULTI;
}
commit_vlan_action(ctx, tci);
compose_output_action(ctx, port->odp_port);
- ctx->nf_output_iface = port->odp_port;
+ ctx->nf_output_iface = port->up.ofp_port;
}
static int