Remove use of deprecated and now removed QueueBase::MaxPackets
Change-Id: I6aa6d2af4e6189ecd6bac774b2b846b18a0f9dd2
diff --git a/tests/other/ndn-test.cpp b/tests/other/ndn-test.cpp
index 4095f54..c720bd6 100644
--- a/tests/other/ndn-test.cpp
+++ b/tests/other/ndn-test.cpp
@@ -159,7 +159,7 @@
// setting default parameters for PointToPoint links and channels
Config::SetDefault("ns3::PointToPointNetDevice::DataRate", StringValue("10000Mbps"));
Config::SetDefault("ns3::PointToPointChannel::Delay", StringValue("10ms"));
- Config::SetDefault("ns3::DropTailQueue::MaxPackets", StringValue("20"));
+ Config::SetDefault("ns3::DropTailQueue::MaxSize", StringValue("20p"));
// Read optional command-line parameters (e.g., enable visualizer with ./waf --run=<> --visualize
CommandLine cmd;