First simple NS-3 scenario that seems to work
diff --git a/ns3/sync-ccnx-wrapper.cc b/ns3/sync-ccnx-wrapper.cc
index e66bda1..9ef8cc4 100644
--- a/ns3/sync-ccnx-wrapper.cc
+++ b/ns3/sync-ccnx-wrapper.cc
@@ -48,6 +48,7 @@
namespace Sync {
CcnxWrapper::CcnxWrapper()
+ : m_rand (0, std::numeric_limits<uint32_t>::max ())
{
}
@@ -112,6 +113,8 @@
Ptr<Packet> packet = Create<Packet> ();
packet->AddHeader (interestHeader);
+ // NS_LOG_DEBUG (interestHeader);
+
m_protocolHandler (packet);
m_transmittedInterests (&interestHeader, this, m_face);