summaryrefslogtreecommitdiff
path: root/examples/kni
diff options
context:
space:
mode:
Diffstat (limited to 'examples/kni')
-rw-r--r--examples/kni/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/kni/main.c b/examples/kni/main.c
index 8bea071..a6d6fc2 100644
--- a/examples/kni/main.c
+++ b/examples/kni/main.c
@@ -835,7 +835,7 @@ static void
print_ethaddr(const char *name, struct rte_ether_addr *mac_addr)
{
char buf[ETHER_ADDR_FMT_SIZE];
- ether_format_addr(buf, ETHER_ADDR_FMT_SIZE, mac_addr);
+ rte_ether_format_addr(buf, ETHER_ADDR_FMT_SIZE, mac_addr);
RTE_LOG(INFO, APP, "\t%s%s\n", name, buf);
}