]> git.droids-corp.org - dpdk.git/blobdiff - examples/l3fwd-acl/main.c
mbuf: remove the rte_pktmbuf structure
[dpdk.git] / examples / l3fwd-acl / main.c
index eac0eab61bb32af237309ab2a19101f12dd3c16d..bafd26a886f92ec3041c46b42e02a2efa7c8c3b5 100644 (file)
@@ -700,7 +700,7 @@ prepare_one_packet(struct rte_mbuf **pkts_in, struct acl_search_t *acl,
                        unsigned char *) + sizeof(struct ether_hdr));
 
                /* Check to make sure the packet is valid (RFC1812) */
-               if (is_valid_ipv4_pkt(ipv4_hdr, pkt->pkt.pkt_len) >= 0) {
+               if (is_valid_ipv4_pkt(ipv4_hdr, pkt->pkt_len) >= 0) {
 
                        /* Update time to live and header checksum */
                        --(ipv4_hdr->time_to_live);