Bugzilla – Bug 2568
Avoid enumerating TCP variants in examples
Last modified: 2017-06-03 01:45:36 UTC
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
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