face: use MAX_NDN_PACKET_SIZE constant from ndn-cxx
refs #2099
Change-Id: I46331436e0605f77f6b6ac7b49d50fe1570817b8
diff --git a/tests/daemon/face/tcp.cpp b/tests/daemon/face/tcp.cpp
index a87c5dc..a391edc 100644
--- a/tests/daemon/face/tcp.cpp
+++ b/tests/daemon/face/tcp.cpp
@@ -687,7 +687,7 @@
std::ostringstream hugeName;
hugeName << "/huge-name/";
- for (size_t i = 0; i < MAX_NDN_PACKET_SIZE; i++)
+ for (size_t i = 0; i < ndn::MAX_NDN_PACKET_SIZE; i++)
hugeName << 'a';
shared_ptr<Interest> interest = makeInterest("ndn:/KfczhUqVix");