From bc5e7a8d33feb3026a4649249438bca0e389f4cc Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 13 Aug 2016 19:49:30 +0000 Subject: [PATCH] fix star topology generation --- src/testbed/testbed_api_topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testbed/testbed_api_topology.c b/src/testbed/testbed_api_topology.c index 76272832d..a21a7cf53 100644 --- a/src/testbed/testbed_api_topology.c +++ b/src/testbed/testbed_api_topology.c @@ -594,7 +594,7 @@ gen_topo_star (struct TopologyContext *tc) break; } for (cnt = tc->link_array_size; cnt; cnt--) - make_link (0, + make_link (cnt - 1, 0, cnt, tc); -- 2.25.1