Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
also alias the 3.12 option names
[simgrid.git] / src / surf / network_ns3.cpp
index cde72ac619a61ea23798a9f8d49763e54ddf5399..903bdff959b205491b462e1a1b7e9324da16ef26 100644 (file)
@@ -219,7 +219,7 @@ namespace simgrid {
 namespace surf {
 
 NetworkNS3Model::NetworkNS3Model() : NetworkModel() {
-  ns3_initialize(xbt_cfg_get_string(_sg_cfg_set, "ns3/TcpModel"));
+  ns3_initialize(xbt_cfg_get_string("ns3/TcpModel"));
 
   routing_model_create(NULL);
   simgrid::s4u::Host::onCreation.connect(ns3_add_host);