Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Bug fix.
[simgrid.git] / src / surf / network_gtnets.c
index 9ee7c9c..00ea4a9 100644 (file)
@@ -286,7 +286,7 @@ 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);
    }