summaryrefslogtreecommitdiff
path: root/examples/l3fwd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/l3fwd/main.c')
-rw-r--r--examples/l3fwd/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c
index b0a700a..3f4625a 100644
--- a/examples/l3fwd/main.c
+++ b/examples/l3fwd/main.c
@@ -650,7 +650,7 @@ static void
print_ethaddr(const char *name, const struct rte_ether_addr *eth_addr)
{
char buf[ETHER_ADDR_FMT_SIZE];
- ether_format_addr(buf, ETHER_ADDR_FMT_SIZE, eth_addr);
+ rte_ether_format_addr(buf, ETHER_ADDR_FMT_SIZE, eth_addr);
printf("%s%s", name, buf);
}
@@ -914,7 +914,7 @@ main(int argc, char **argv)
/*
* prepare src MACs for each port.
*/
- ether_addr_copy(&ports_eth_addr[portid],
+ rte_ether_addr_copy(&ports_eth_addr[portid],
(struct rte_ether_addr *)(val_eth + portid) + 1);
/* init memory */