Upgrade to the latest version of NS-3 (ns-3.27-22-g90fb309d5)
Change-Id: I01fa76eabc327a5638627b27bc51e6330d5ad221
Refs: #4311
diff --git a/examples/ndn-simple.py b/examples/ndn-simple.py
index f8bf1ca..108406a 100644
--- a/examples/ndn-simple.py
+++ b/examples/ndn-simple.py
@@ -47,7 +47,7 @@
# Set default parameters for PointToPoint links and channels
Config.SetDefault("ns3::PointToPointNetDevice::DataRate", StringValue("10Mbps"))
Config.SetDefault("ns3::PointToPointChannel::Delay", StringValue("10ms"))
-Config.SetDefault("ns3::DropTailQueue::MaxPackets", StringValue("20"))
+Config::SetDefault("ns3::QueueBase::MaxPackets", UintegerValue(20))
# Read optional command-line parameters (e.g., enable visualizer with ./waf --pyrun=<> --visualize
import sys; cmd = CommandLine(); cmd.Parse(sys.argv);