From ef10f0c17cccc20c91befa9727ad9c4932827697 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Mon, 28 Jan 2013 09:59:38 +0100 Subject: [PATCH] create backbone if either one of the bandwidth or latency is set to a value != 0, fixes #14873 --- src/surf/surf_routing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index e4ce24ded5..cf77d3191d 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -923,7 +923,7 @@ static void routing_parse_cluster(sg_platf_cluster_cbarg_t cluster) free(newid); //Make the backbone - if ((cluster->bb_bw != 0) && (cluster->bb_lat != 0)) { + if ((cluster->bb_bw != 0) || (cluster->bb_lat != 0)) { char *link_backbone = bprintf("%s_backbone", cluster->id); XBT_DEBUG("", link_backbone, cluster->bb_bw, cluster->bb_lat); -- 2.20.1