sigh, another missed commit
authorNathan S. Evans <evans@in.tum.de>
Tue, 11 May 2010 18:49:51 +0000 (18:49 +0000)
committerNathan S. Evans <evans@in.tum.de>
Tue, 11 May 2010 18:49:51 +0000 (18:49 +0000)
src/testing/test_testing_topology.c

index 64d842a9e9f6ef4993ce28aa0d8e22e1a4e14122..331992692e8a91932e0c90b2976b30ae10121ea1 100644 (file)
@@ -75,6 +75,8 @@ static FILE *dotOutFile;
 
 static char *topology_string;
 
+static char *blacklist_transports;
+
 static int transmit_ready_scheduled;
 
 static int transmit_ready_failed;
@@ -546,7 +548,7 @@ static void
 create_topology ()
 {
   peers_left = num_peers; /* Reset counter */
-  if (GNUNET_TESTING_create_topology (pg, topology, blacklist_topology) != GNUNET_SYSERR)
+  if (GNUNET_TESTING_create_topology (pg, topology, blacklist_topology, blacklist_transports) != GNUNET_SYSERR)
     {
 #if VERBOSE
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -708,6 +710,9 @@ run (void *cls,
       }
     }
 
+  GNUNET_CONFIGURATION_get_value_string (cfg, "testing", "blacklist_transports",
+                                         &blacklist_transports);
+
   if (GNUNET_YES ==
       GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "blacklist_topology",
                                              &blacklist_topology_num))