tests: include ndn-cxx/net/ethernet.hpp
It has been renamed from ndn-cxx/util/ethernet.hpp.
refs #3940
Change-Id: I1a35d4f8bd1a188e023ba6ee12e7e4f8e179c2c4
diff --git a/tests/dump/ndndump.t.cpp b/tests/dump/ndndump.t.cpp
index b360bd9..e371fa5 100644
--- a/tests/dump/ndndump.t.cpp
+++ b/tests/dump/ndndump.t.cpp
@@ -20,8 +20,8 @@
#include "tools/dump/ndndump.hpp"
#include <ndn-cxx/lp/packet.hpp>
+#include <ndn-cxx/net/ethernet.hpp>
#include <ndn-cxx/security/key-chain.hpp>
-#include <ndn-cxx/util/ethernet.hpp>
#include "tests/test-common.hpp"
#include "tests/identity-management-fixture.hpp"
@@ -71,12 +71,11 @@
void
receive(EncodingBuffer& buffer)
{
- util::ethernet::Address host;
+ ethernet::Address host;
// Ethernet header
- uint16_t frameType = htons(util::ethernet::ETHERTYPE_NDN);
- buffer.prependByteArray(reinterpret_cast<const uint8_t*>(&frameType),
- util::ethernet::TYPE_LEN);
+ uint16_t frameType = htons(ethernet::ETHERTYPE_NDN);
+ buffer.prependByteArray(reinterpret_cast<const uint8_t*>(&frameType), ethernet::TYPE_LEN);
buffer.prependByteArray(host.data(), host.size());
buffer.prependByteArray(host.data(), host.size());