X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/33532af6f3b6db5d3b05062cddb1063b8c08a234..d9c234050c6ba72ff2520ac9c57c11468bd30395:/src/surf/surfxml_parse.c diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index 950173c99b..915dfd78c3 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -321,13 +321,7 @@ void STag_surfxml_cluster(void){ struct_cluster->bb_bw = surf_parse_get_double(A_surfxml_cluster_bb_bw); if(strcmp(A_surfxml_cluster_bb_lat,"")) struct_cluster->bb_lat = surf_parse_get_double(A_surfxml_cluster_bb_lat); - if(!strcmp(A_surfxml_cluster_router_id,"")) - struct_cluster->router_id = bprintf("%s%s_router%s", - struct_cluster->prefix, - struct_cluster->id, - struct_cluster->suffix); - else - struct_cluster->router_id = A_surfxml_cluster_router_id; + struct_cluster->router_id = A_surfxml_cluster_router_id; struct_cluster->sharing_policy = AX_surfxml_cluster_sharing_policy; struct_cluster->bb_sharing_policy = AX_surfxml_cluster_bb_sharing_policy;