summaryrefslogtreecommitdiff
path: root/app/test-pmd/macfwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test-pmd/macfwd.c')
-rw-r--r--app/test-pmd/macfwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/test-pmd/macfwd.c b/app/test-pmd/macfwd.c
index 631f86f..f151492 100644
--- a/app/test-pmd/macfwd.c
+++ b/app/test-pmd/macfwd.c
@@ -92,9 +92,9 @@ pkt_burst_mac_forward(struct fwd_stream *fs)
void *));
mb = pkts_burst[i];
eth_hdr = rte_pktmbuf_mtod(mb, struct rte_ether_hdr *);
- ether_addr_copy(&peer_eth_addrs[fs->peer_addr],
+ rte_ether_addr_copy(&peer_eth_addrs[fs->peer_addr],
&eth_hdr->d_addr);
- ether_addr_copy(&ports[fs->tx_port].eth_addr,
+ rte_ether_addr_copy(&ports[fs->tx_port].eth_addr,
&eth_hdr->s_addr);
mb->ol_flags &= IND_ATTACHED_MBUF | EXT_ATTACHED_MBUF;
mb->ol_flags |= ol_flags;