summaryrefslogtreecommitdiff
path: root/examples/l2fwd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/l2fwd/main.c')
-rw-r--r--examples/l2fwd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c
index c1d6797..1e2b142 100644
--- a/examples/l2fwd/main.c
+++ b/examples/l2fwd/main.c
@@ -161,7 +161,7 @@ l2fwd_mac_updating(struct rte_mbuf *m, unsigned dest_portid)
*((uint64_t *)tmp) = 0x000000000002 + ((uint64_t)dest_portid << 40);
/* src addr */
- ether_addr_copy(&l2fwd_ports_eth_addr[dest_portid], &eth->s_addr);
+ rte_ether_addr_copy(&l2fwd_ports_eth_addr[dest_portid], &eth->s_addr);
}
static void