ForwardingStrategy removes PIT if interest wasn't propagated. Updated
Limits interface (adding config options). Small randomization for decay
frequency in PerFibLimits strategy.
diff --git a/model/fw/nacks.cc b/model/fw/nacks.cc
index a148794..2c8c92f 100644
--- a/model/fw/nacks.cc
+++ b/model/fw/nacks.cc
@@ -156,8 +156,6 @@
const Ptr<const Packet> &packet,
Ptr<pit::Entry> pitEntry)
{
- super::DidExhaustForwardingOptions (incomingFace, header, packet, pitEntry);
-
if (m_nacksEnabled)
{
Ptr<Packet> packet = Create<Packet> ();
@@ -171,16 +169,9 @@
m_outNacks (header, incoming.m_face);
}
+ }
- // All incoming interests cannot be satisfied. Remove them
- pitEntry->ClearIncoming ();
-
- // Remove also outgoing
- pitEntry->ClearOutgoing ();
-
- // Set pruning timout on PIT entry (instead of deleting the record)
- m_pit->MarkErased (pitEntry);
- }
+ super::DidExhaustForwardingOptions (incomingFace, header, packet, pitEntry);
}
void