]> git.droids-corp.org - dpdk.git/blobdiff - examples/ipv4_multicast/main.c
mbuf: rename in_port to just port
[dpdk.git] / examples / ipv4_multicast / main.c
index cc12d9d9f01a8604990063ffc05a8530ffc414d5..223285181a18d805fd978cc13237df2277ce407a 100644 (file)
@@ -337,7 +337,7 @@ mcast_out_pkt(struct rte_mbuf *pkt, int use_clone)
        hdr->nb_segs = (uint8_t)(pkt->nb_segs + 1);
 
        /* copy metadata from source packet*/
-       hdr->in_port = pkt->in_port;
+       hdr->port = pkt->port;
        hdr->vlan_macip = pkt->vlan_macip;
        hdr->hash = pkt->hash;