]> git.droids-corp.org - dpdk.git/blobdiff - examples/distributor/main.c
net: add rte prefix to ether structures
[dpdk.git] / examples / distributor / main.c
index b5499bb129687f99ca946c56c6ab2bc1ddee4936..e4c8c3c18de2c010e3de607d9cd30c46821d9d40 100644 (file)
@@ -179,7 +179,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)
                return 0;
        }
 
-       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",