Small compilation-related bug in ccnx-forwarding-strategy.cc
diff --git a/model/forwarding-strategy/ccnx-forwarding-strategy.cc b/model/forwarding-strategy/ccnx-forwarding-strategy.cc
index e4b89f6..93afbeb 100644
--- a/model/forwarding-strategy/ccnx-forwarding-strategy.cc
+++ b/model/forwarding-strategy/ccnx-forwarding-strategy.cc
@@ -233,7 +233,7 @@
const Ptr<const Packet> &packet,
Ptr<CcnxPitEntry> pitEntry)
{
- NS_LOG_FUNCTION (this << *incomingFace);
+ NS_LOG_FUNCTION (this << boost::cref (*incomingFace));
/////////////////////////////////////////////////////////////////////////////////////////
// //
// !!!! IMPORTANT CHANGE !!!! Duplicate interests will create incoming face entry !!!! //
@@ -249,7 +249,7 @@
const Ptr<const Packet> &packet,
Ptr<CcnxPitEntry> pitEntry)
{
- NS_LOG_FUNCTION (this << *incomingFace);
+ NS_LOG_FUNCTION (this << boost::cref (*incomingFace));
m_dropInterests (header, incomingFace);
}