summaryrefslogtreecommitdiff
path: root/app/test/test_cmdline_etheraddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_cmdline_etheraddr.c')
-rw-r--r--app/test/test_cmdline_etheraddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test/test_cmdline_etheraddr.c b/app/test/test_cmdline_etheraddr.c
index 90943c2..9a32fd7 100644
--- a/app/test/test_cmdline_etheraddr.c
+++ b/app/test/test_cmdline_etheraddr.c
@@ -85,7 +85,7 @@ static int
is_addr_different(const struct rte_ether_addr addr, uint64_t num)
{
int i;
- for (i = 0; i < ETHER_ADDR_LEN; i++, num >>= 8)
+ for (i = 0; i < RTE_ETHER_ADDR_LEN; i++, num >>= 8)
if (addr.addr_bytes[i] != (num & 0xFF)) {
return 1;
}