Correction of the leak
diff --git a/model/ccnx-l3-protocol.cc b/model/ccnx-l3-protocol.cc
index 718e684..187a020 100644
--- a/model/ccnx-l3-protocol.cc
+++ b/model/ccnx-l3-protocol.cc
@@ -583,13 +583,15 @@
void
CcnxL3Protocol::LeakBuckets ()
{
+ NS_LOG_FUNCTION (this);
BOOST_FOREACH (const Ptr<CcnxFace> &face, m_faces)
{
face->LeakBucket (m_bucketLeakInterval);
}
m_bucketLeakEvent = Simulator::Schedule (m_bucketLeakInterval,
- &CcnxL3Protocol::LeakBuckets, this);
+ &CcnxL3Protocol::LeakBuckets,
+ this);
}
} //namespace ns3