"OVERLAY_TOPOLOGY",
&topology))
{
- if (0 == strcmp (topology, "RANDOM"))
+ if (0 == strcasecmp (topology, "RANDOM"))
{
rc->topology = GNUNET_TESTBED_TOPOLOGY_ERDOS_RENYI;
if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_number (cfg, "testbed",
testbed = GNUNET_TESTBED_create_va (controller, num_hosts, hosts, num_peers,
peer_cfg, underlay_topology, vargs);
va_end (vargs);
- return NULL;
+ return testbed;
}