]> git.droids-corp.org - dpdk.git/blobdiff - examples/l2fwd-cat/l2fwd-cat.c
net: add rte prefix to ether structures
[dpdk.git] / examples / l2fwd-cat / l2fwd-cat.c
index 0e6078aad8502d47252f154a456bf9e3a4e1343d..1a8af28e2b51bd657d00e8d972020bdd6eb16fbe 100644 (file)
@@ -73,7 +73,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)
                return retval;
 
        /* Display the port MAC address. */
-       struct ether_addr addr;
+       struct rte_ether_addr addr;
        rte_eth_macaddr_get(port, &addr);
        printf("Port %u MAC: %02" PRIx8 " %02" PRIx8 " %02" PRIx8
                           " %02" PRIx8 " %02" PRIx8 " %02" PRIx8 "\n",