From: Ethan Jackson Date: Thu, 20 Dec 2012 00:17:07 +0000 (-0800) Subject: ofproto-dpif: User proper type for odp_port when outputting. X-Git-Tag: sliver-openvswitch-1.9.90-3~10^2~72 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9a2f7074d5f514a2ea54155a12f0616c44e1d475;p=sliver-openvswitch.git ofproto-dpif: User proper type for odp_port when outputting. Found by inspection. Signed-off-by: Ethan Jackson --- diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index d5d22d3dc..d1064bc5a 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -5384,7 +5384,7 @@ compose_output_action__(struct action_xlate_ctx *ctx, uint16_t ofp_port, uint32_t odp_port = ofp_port_to_odp_port(ctx->ofproto, ofp_port); ovs_be16 flow_vlan_tci = ctx->flow.vlan_tci; uint8_t flow_nw_tos = ctx->flow.nw_tos; - uint16_t out_port; + uint32_t out_port; if (ofport) { struct priority_to_dscp *pdscp;