diff --git a/src/topology-read/model/topology-reader.cc b/src/topology-read/model/topology-reader.cc index 8a7e09b7f..b531a6d98 100644 --- a/src/topology-read/model/topology-reader.cc +++ b/src/topology-read/model/topology-reader.cc @@ -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; }