OSPF metric bug in BaseExperiment. Moving ApplyOSPFMetric to the right place
diff --git a/examples/base-experiment.h b/examples/base-experiment.h
index c77760d..603687f 100644
--- a/examples/base-experiment.h
+++ b/examples/base-experiment.h
@@ -81,14 +81,14 @@
ccnxHelper.SetDefaultRoutes (false);
ccnxHelper.InstallAll ();
+ reader->ApplyOspfMetric ();
+
ccnxHelper.InstallFakeGlobalRoutes ();
if (installFIBs)
{
// // Populate FIB based on IPv4 global routing controller
ccnxHelper.InstallRoutesToAll ();
}
-
- reader->ApplyOspfMetric ();
}
void InstallIpStack ()