Bug 1312 - Wrong assert condition in TopologyReader::Link::GetAttribute
Wrong assert condition in TopologyReader::Link::GetAttribute
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: topology-read
ns-3-dev
All All
: P5 critical
Assigned To: Tommaso Pecorella
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-12 17:29 UTC by Alex Afanasyev
Modified: 2011-12-12 18:19 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Afanasyev 2011-12-12 17:29:46 UTC
There is wrong (opposite) assert condition in topology-reader.cc:136.

The following patch set resolves the problem.  
https://bitbucket.org/cawka/ns-3-dev/changeset/79a7d63e18ed

In addition, the same patch set slightly optimizes method calls that uses std::string as a parameter.
Comment 1 Tommaso Pecorella 2011-12-12 18:18:54 UTC
Thanks for the fix. Applied with changeset 69e782e15f32