ofproto-dpif: User proper type for odp_port when outputting.
authorEthan Jackson <ethan@nicira.com>
Thu, 20 Dec 2012 00:17:07 +0000 (16:17 -0800)
committerEthan Jackson <ethan@nicira.com>
Fri, 21 Dec 2012 23:24:21 +0000 (15:24 -0800)
Found by inspection.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c

index d5d22d3..d1064bc 100644 (file)
@@ -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;