aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_testbed.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-08-13 19:42:00 +0000
committerChristian Grothoff <christian@grothoff.org>2016-08-13 19:42:00 +0000
commit39b82864a1ac0d4fd01cdb69b2fcfb46dd79ec25 (patch)
tree65000ee60e7d25da722f967f25fd90ea5120cb53 /src/testbed/testbed_api_testbed.c
parent15222bc9e49f1260f02b4adb2fe78b279dc1e38f (diff)
downloadgnunet-39b82864a1ac0d4fd01cdb69b2fcfb46dd79ec25.tar.gz
gnunet-39b82864a1ac0d4fd01cdb69b2fcfb46dd79ec25.zip
-fix bug introduced when STAR topology was added, STAR must only be once in the topology_strings[]-array
Diffstat (limited to 'src/testbed/testbed_api_testbed.c')
-rw-r--r--src/testbed/testbed_api_testbed.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testbed/testbed_api_testbed.c b/src/testbed/testbed_api_testbed.c
index 1b6656234..eaa1656ba 100644
--- a/src/testbed/testbed_api_testbed.c
+++ b/src/testbed/testbed_api_testbed.c
@@ -1366,6 +1366,9 @@ GNUNET_TESTBED_run (const char *host_filename,
1366 goto error_cleanup; 1366 goto error_cleanup;
1367 } 1367 }
1368 goto warn_ignore; 1368 goto warn_ignore;
1369 case GNUNET_TESTBED_TOPOLOGY_OPTION_END:
1370 /* not allowed! */
1371 GNUNET_assert (0);
1369 default: 1372 default:
1370 warn_ignore: 1373 warn_ignore:
1371 /* Warn if OVERLAY_RANDOM_LINKS is present that it will be ignored */ 1374 /* Warn if OVERLAY_RANDOM_LINKS is present that it will be ignored */