Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add debug on topology.
[simgrid.git] / src / surf / network_gtnets.c
index 9ee7c9c..59a344a 100644 (file)
@@ -286,11 +286,12 @@ static void add_route()
         RETHROW1("Link %s not found (dict raised this exception: %s)", link);
       }     
     }
-    if (nb_link > 1)
+    if (nb_link >= 1)
       route_new(src_id, dst_id, link_list, nb_link);
    }
 
   xbt_dict_free(&route_table);
+  gtnets_print_topology();
   XBT_OUT;
 }