annotated topology reader small fix
diff --git a/model/annotated-topology-reader.cc b/model/annotated-topology-reader.cc
index 194a90c..db8392d 100644
--- a/model/annotated-topology-reader.cc
+++ b/model/annotated-topology-reader.cc
@@ -112,6 +112,11 @@
return m_nodes;
}
+std::list<TopologyReader::Link>
+AnnotatedTopologyReader::GetLinks () const
+{
+ return m_linksList;
+}
NodeContainer
AnnotatedTopologyReader::Read (void)
diff --git a/model/annotated-topology-reader.h b/model/annotated-topology-reader.h
index b9268b8..eccbc29 100644
--- a/model/annotated-topology-reader.h
+++ b/model/annotated-topology-reader.h
@@ -63,6 +63,12 @@
GetNodes () const;
/**
+ * \brief Get links read by the reader
+ */
+ std::list<Link>
+ GetLinks () const;
+
+ /**
* \brief Assign IPv4 addresses to all links
*
* Note, IPv4 stack should be installed on all nodes prior this call
diff --git a/model/ccnx-pit.cc b/model/ccnx-pit.cc
index d9667cf..ca2c3f3 100644
--- a/model/ccnx-pit.cc
+++ b/model/ccnx-pit.cc
@@ -170,7 +170,7 @@
{
CcnxFibEntryContainer::type::iterator fibEntry = m_fib->LongestPrefixMatch (header);
NS_ASSERT_MSG (fibEntry != m_fib->m_fib.end (),
- "There should be at least default route set");
+ "There should be at least default route set" << " Prefix = "<<header.GetName() << "NodeID == " << m_fib->GetObject<Node>()->GetId() << "\n" << *m_fib);
entry = insert (end (),
CcnxPitEntry (Create<CcnxNameComponents> (header.GetName ()),