Hello,
While working through the NS-3 manual (completely new user) to understand how everything works I came across an issue with "main-attribute-value.cc" within the directory /ns-3.28/src/point-to-point/examples
Not sure on the history but I believe some queue attribute names have changed from older to newer versions which is creating runtime errors.
Error:
msg="Could not set default value for ns3::DropTailQueue<Packet>::MaxPackets", file=../src/core/model/config.cc, line=787
First lines of code creating the issue:
Config::SetDefault ("ns3::DropTailQueue<Packet>::MaxPackets", StringValue ("80"));
Config::SetDefault ("ns3::DropTailQueue<Packet>::MaxPackets", UintegerValue (80));
Solution:
Using the reference below, change the example file such that it uses current attributes.
I have also attached the updated example file.
Furthermore, section "Defining Attributes" within the NS-3 manual needs updating to reflect the changes.