Bugzilla – Bug 2446
Comma instead of pipe in Attributes
Last modified: 2016-06-23 17:59:34 EDT
Created attachment 2477 [details] fix In the traffic control examples it is used a wrong syntax, e.g.: clientHelper.SetAttribute ("OnTime", StringValue ("ns3::UniformRandomVariable[Min=0.,Max=1.]")); The correct field separator is |, not a comma. It is worth noticing that also the attribute-test-suite contains the very same mistake. Lucky enough, the call was setting the attribute value to its default value. As a side note... is this mentioned in the documentation ?
see also a similar problem with: examples/tcp/tcp-nsc-lfn.cc:103
Thanks for spotting these mistakes. Please go ahead and commit the fix, thanks!
pushet in changeset 12168:b7d315126827