diff options
Diffstat (limited to 'host/tests/dpdk_port_test.cpp')
-rw-r--r-- | host/tests/dpdk_port_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/tests/dpdk_port_test.cpp b/host/tests/dpdk_port_test.cpp index 323d02e48..4932b167d 100644 --- a/host/tests/dpdk_port_test.cpp +++ b/host/tests/dpdk_port_test.cpp @@ -120,10 +120,10 @@ int main(int argc, char** argv) // Attach link std::cout << "Attaching UDP send link..." << std::endl; io_srv->attach_send_link(link); - struct ether_addr dest_mac; + struct rte_ether_addr dest_mac; link->get_remote_mac(dest_mac); char mac_str[20]; - ether_format_addr(mac_str, 20, &dest_mac); + rte_ether_format_addr(mac_str, 20, &dest_mac); std::cout << "Remote MAC address is " << mac_str << std::endl; std::cout << std::endl; std::cout << "Attaching UDP recv link..." << std::endl; |