Correcting everything to the stage that everything compiles
diff --git a/examples/ccnx-grid.cc b/examples/ccnx-grid.cc
index 9d6454a..618bf74 100644
--- a/examples/ccnx-grid.cc
+++ b/examples/ccnx-grid.cc
@@ -47,7 +47,7 @@
{
Config::SetDefault ("ns3::PointToPointNetDevice::DataRate", StringValue ("1Mbps"));
Config::SetDefault ("ns3::PointToPointChannel::Delay", StringValue ("1ms"));
- Config::SetDefault ("ns3::CcnxConsumer::OffTime", StringValue ("1ms"));
+ Config::SetDefault ("ns3::CcnxConsumer::OffTime", StringValue ("1s"));
Packet::EnableChecking();
Packet::EnablePrinting();
diff --git a/examples/interest-header-example.cc b/examples/interest-header-example.cc
index 080e5a5..6964440 100644
--- a/examples/interest-header-example.cc
+++ b/examples/interest-header-example.cc
@@ -72,8 +72,7 @@
uint32_t randomNonce = static_cast<uint32_t> (random.GetValue());
interestHeader.SetNonce(randomNonce);
- interestHeader.SetNack(true);
- interestHeader.SetCongested(true);
+ interestHeader.SetNack(CcnxInterestHeader::NACK_CONGESTION);
NS_LOG_INFO ("Source: \n" << interestHeader);
packet.AddHeader (interestHeader);