Repair critical bug in CcnxConsumer. Due to accidental commenting out a
line, there were not packet retransmissions...
diff --git a/examples/base-experiment.h b/examples/base-experiment.h
index 7a9e4bf..873a956 100644
--- a/examples/base-experiment.h
+++ b/examples/base-experiment.h
@@ -63,7 +63,7 @@
reader->Commit ();
}
- void InstallCcnxStack ()
+ void InstallCcnxStack (bool installFIBs = true)
{
InternetStackHelper stack;
Ipv4GlobalRoutingHelper ipv4RoutingHelper ("ns3::Ipv4GlobalRoutingOrderedNexthops");
@@ -80,9 +80,12 @@
ccnxHelper.SetDefaultRoutes (false);
ccnxHelper.InstallAll ();
- // // Populate FIB based on IPv4 global routing controller
ccnxHelper.InstallFakeGlobalRoutes ();
- ccnxHelper.InstallRoutesToAll ();
+ if (installFIBs)
+ {
+ // // Populate FIB based on IPv4 global routing controller
+ ccnxHelper.InstallRoutesToAll ();
+ }
}
void InstallIpStack ()