When giving up PIT entry, remove all outgoing interests. Otherwise,
everything can stuck (was happening...)
Modified experiment with synthetic topology
diff --git a/helper/ccnx-consumer-helper.cc b/helper/ccnx-consumer-helper.cc
index f6fcb7c..dc29d9a 100644
--- a/helper/ccnx-consumer-helper.cc
+++ b/helper/ccnx-consumer-helper.cc
@@ -32,12 +32,18 @@
CcnxConsumerHelper::CcnxConsumerHelper (const std::string &prefix)
{
m_factory.SetTypeId ("ns3::CcnxConsumer");
-
+
+ SetPrefix (prefix);
+}
+
+void
+CcnxConsumerHelper::SetPrefix (const std::string &prefix)
+{
CcnxNameComponentsValue prefixValue;
prefixValue.DeserializeFromString (prefix, MakeCcnxNameComponentsChecker ());
m_factory.Set ("InterestName", prefixValue);
}
-
+
void
CcnxConsumerHelper::SetAttribute (std::string name, const AttributeValue &value)
{