Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics: kill useless functions of the C surf API and the such
[simgrid.git] / src / surf / network_ib.cpp
index 5e995d1..43efa04 100644 (file)
@@ -94,8 +94,9 @@ void surf_network_model_init_IB(void)
 
   if (surf_network_model)
     return;
+
+  simgrid::surf::on_link.connect(netlink_parse_init);
   surf_network_model = new simgrid::surf::NetworkIBModel();
-  net_define_callbacks();
   xbt_dynar_push(all_existing_models, &surf_network_model);
   networkActionStateChangedCallbacks.connect(IB_action_state_changed_callback);
   networkCommunicateCallbacks.connect(IB_action_init_callback);