From 9a2f7074d5f514a2ea54155a12f0616c44e1d475 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Wed, 19 Dec 2012 16:17:07 -0800 Subject: [PATCH] ofproto-dpif: User proper type for odp_port when outputting. Found by inspection. Signed-off-by: Ethan Jackson --- ofproto/ofproto-dpif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1