|
Bugzilla – Full Text Bug Listing |
| Summary: | Avoid enumerating TCP variants in examples | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Rohit P. Tahiliani <rohit.tahil> |
| Component: | examples | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | tomh |
| Priority: | P3 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
Proposed patch
Proposed patch |
||
Created attachment 2856 [details]
Proposed patch
Hi Tom Sir, I have uploaded a new patch based on the latest ns-3-dev. Thank you, Rohit committed in changeset 12907:86f643f3d027 |
Created attachment 2690 [details] Proposed patch As suggested by Tom Sir, I have attached a patch that makes use of TypeId::LookupByNameFailSafe (std::string name, TypeId *tid) in examples/tcp/tcp-variants-comparison.cc to avoid enumerating all TCP variants. I will see if I can find more such programs which enumerate TCP variants, and update them. I did not find more in examples/tcp directory. Any suggestions would be much appreciated. Thanks, Rohit P. Tahiliani