]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pmd/txonly.c
app/procinfo: use strlcpy for copying string
[dpdk.git] / app / test-pmd / txonly.c
index a37aa5aa7caaa00f85f489e7e23da2eec4f53365..10d641a44b2bf79ecd1be5aadcc20a9429e93b7c 100644 (file)
@@ -268,7 +268,7 @@ pkt_burst_transmit(struct fwd_stream *fs)
         */
        rte_ether_addr_copy(&peer_eth_addrs[fs->peer_addr], &eth_hdr.d_addr);
        rte_ether_addr_copy(&ports[fs->tx_port].eth_addr, &eth_hdr.s_addr);
-       eth_hdr.ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPv4);
+       eth_hdr.ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4);
 
        if (rte_mempool_get_bulk(mbp, (void **)pkts_burst,
                                nb_pkt_per_burst) == 0) {