]> git.droids-corp.org - dpdk.git/blobdiff - examples/load_balancer/runtime.c
mbuf: remove the rte_pktmbuf structure
[dpdk.git] / examples / load_balancer / runtime.c
index 9612392ed6a7914cc5436731da6997234904eca1..b69917b12e0c5f6145bbbb381af178486c3198d0 100644 (file)
@@ -540,7 +540,7 @@ app_lcore_worker(
                        ipv4_dst = rte_be_to_cpu_32(ipv4_hdr->dst_addr);
 
                        if (unlikely(rte_lpm_lookup(lp->lpm_table, ipv4_dst, &port) != 0)) {
-                               port = pkt->pkt.in_port;
+                               port = pkt->in_port;
                        }
 
                        pos = lp->mbuf_out[port].n_mbufs;