|
Bugzilla – Full Text Bug Listing |
| Summary: | Comma instead of pipe in Attributes | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tommaso Pecorella <tommaso.pecorella> |
| Component: | traffic-control | Assignee: | Stefano Avallone <stavallo> |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | CC: | ns-bugs, tomh |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://www.nsnam.org/bugzilla/show_bug.cgi?id=2447 | ||
| Attachments: | fix | ||
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 |
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 ?