summaryrefslogtreecommitdiff
path: root/examples/flow_filtering/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/flow_filtering/main.c')
-rw-r--r--examples/flow_filtering/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/flow_filtering/main.c b/examples/flow_filtering/main.c
index cf94218..09dbbce 100644
--- a/examples/flow_filtering/main.c
+++ b/examples/flow_filtering/main.c
@@ -47,8 +47,8 @@ struct rte_flow *flow;
static inline void
print_ether_addr(const char *what, struct rte_ether_addr *eth_addr)
{
- char buf[ETHER_ADDR_FMT_SIZE];
- rte_ether_format_addr(buf, ETHER_ADDR_FMT_SIZE, eth_addr);
+ char buf[RTE_ETHER_ADDR_FMT_SIZE];
+ rte_ether_format_addr(buf, RTE_ETHER_ADDR_FMT_SIZE, eth_addr);
printf("%s%s", what, buf);
}