Bug 1312: TopologyRead Assert condition fix

This commit is contained in:
Tommaso Pecorella committed 2011-12-13 00:15:32 +01:00
1 parent f10552744d
commit 8f185cee03
1 file changed
+1 -1
+1 -1
View File
@@ -133,7 +133,7 @@ TopologyReader::Link::GetToNodeName (void) const
std::string
TopologyReader::Link::GetAttribute (const std::string &name) const
{
NS_ASSERT_MSG (m_linkAttr.find (name) == m_linkAttr.end (), "Requested topology link attribute not found");
NS_ASSERT_MSG (m_linkAttr.find (name) != m_linkAttr.end (), "Requested topology link attribute not found");
return m_linkAttr.find (name)->second;
}