model: small API change in ndn::ForwardingStrategy
diff --git a/model/fw/ndn-forwarding-strategy.cc b/model/fw/ndn-forwarding-strategy.cc
index 390bdd1..b3e7940 100644
--- a/model/fw/ndn-forwarding-strategy.cc
+++ b/model/fw/ndn-forwarding-strategy.cc
@@ -347,7 +347,7 @@
if (ok)
{
m_outData (header, payload, inFace == 0, incoming.m_face);
- DidSendOutData (incoming.m_face, header, payload, origPacket, pitEntry);
+ DidSendOutData (inFace, incoming.m_face, header, payload, origPacket, pitEntry);
NS_LOG_DEBUG ("Satisfy " << *incoming.m_face);
}
@@ -521,13 +521,14 @@
Ptr<Packet> packetToSend = origPacket->Copy ();
outFace->Send (packetToSend);
- DidSendOutInterest (outFace, header, origPacket, pitEntry);
+ DidSendOutInterest (inFace, outFace, header, origPacket, pitEntry);
return true;
}
void
-ForwardingStrategy::DidSendOutInterest (Ptr<Face> outFace,
+ForwardingStrategy::DidSendOutInterest (Ptr<Face> inFace,
+ Ptr<Face> outFace,
Ptr<const InterestHeader> header,
Ptr<const Packet> origPacket,
Ptr<pit::Entry> pitEntry)
@@ -536,7 +537,8 @@
}
void
-ForwardingStrategy::DidSendOutData (Ptr<Face> outFace,
+ForwardingStrategy::DidSendOutData (Ptr<Face> inFace,
+ Ptr<Face> outFace,
Ptr<const ContentObjectHeader> header,
Ptr<const Packet> payload,
Ptr<const Packet> origPacket,