Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make surf++ compile
[simgrid.git] / src / surf / network_ns3.c
index 25175c7..9e0707d 100644 (file)
@@ -5,7 +5,8 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "surf_private.h"
-#include "surf/maxmin.h"
+//#include "surf/maxmin.h"
+#include "surf/solver.h"
 #include "surf/ns3/ns3_interface.h"
 #include "xbt/lib.h"
 #include "surf/network_ns3_private.h"
@@ -362,7 +363,7 @@ void surf_network_model_init_NS3()
 
   /* Added the initialization for NS3 interface */
 
-  if (ns3_initialize(xbt_cfg_get_string(_surf_cfg_set,"ns3/TcpModel"))) {
+  if (ns3_initialize(xbt_cfg_get_string(_sg_cfg_set, "ns3/TcpModel"))) {
     xbt_die("Impossible to initialize NS3 interface");
   }