From f7f2ec052c9fbbca6140830c0c34ef61d85196f3 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 18 May 2011 16:46:31 -0700 Subject: [PATCH 1/1] ofproto-dpif: Fix argument in send_packet() call. The second argument to send_packet() is an ODP port, not an OFP port, so we need to use ODPP_LOCAL instead of OFPP_LOCAL. --- 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 36e7213a..087a8986 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -1590,7 +1590,7 @@ handle_miss_upcall(struct ofproto_dpif *ofproto, struct dpif_upcall *upcall) /* Check with in-band control to see if this packet should be sent * to the local port regardless of the flow table. */ if (connmgr_msg_in_hook(ofproto->up.connmgr, &flow, upcall->packet)) { - send_packet(ofproto, OFPP_LOCAL, upcall->packet); + send_packet(ofproto, ODPP_LOCAL, upcall->packet); } facet = facet_lookup_valid(ofproto, &flow); -- 2.30.2