! Changing suppression logic. We will send interests to faces from which we previously received interests
For now it works only with flooding strategy
diff --git a/model/ccnx-flooding-strategy.cc b/model/ccnx-flooding-strategy.cc
index 5448006..64521b3 100644
--- a/model/ccnx-flooding-strategy.cc
+++ b/model/ccnx-flooding-strategy.cc
@@ -96,11 +96,11 @@
continue; // same face as incoming, don't forward
}
- if (pitEntry.m_incoming.find (metricFace.m_face) != pitEntry.m_incoming.end ())
- {
- NS_LOG_DEBUG ("continue (same as previous incoming)");
- continue; // don't forward to face that we received interest from
- }
+ // if (pitEntry.m_incoming.find (metricFace.m_face) != pitEntry.m_incoming.end ())
+ // {
+ // NS_LOG_DEBUG ("continue (same as previous incoming)");
+ // continue; // don't forward to face that we received interest from
+ // }
CcnxPitEntryOutgoingFaceContainer::type::iterator outgoing =
pitEntry.m_outgoing.find (metricFace.m_face);