From 66e9353163686f84163816a7fee09209ce522fcb Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Tue, 26 Jul 2011 12:39:23 +0000 Subject: load hosts from file, implementation in testing --- src/nse/nse-profiler.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/nse') diff --git a/src/nse/nse-profiler.c b/src/nse/nse-profiler.c index 8d90ca260..3194979a5 100644 --- a/src/nse/nse-profiler.c +++ b/src/nse/nse-profiler.c @@ -580,6 +580,7 @@ run (void *cls, { char *temp_str; unsigned long long temp_wait; + struct GNUNET_TESTING_Host *hosts; ok = 1; testing_cfg = GNUNET_CONFIGURATION_create(); @@ -673,12 +674,14 @@ run (void *cls, } GNUNET_free_non_null(temp_str); + hosts = GNUNET_TESTING_hosts_load (testing_cfg); + pg = GNUNET_TESTING_peergroup_start(testing_cfg, num_peers, TIMEOUT, &connect_cb, &my_cb, NULL, - NULL); + hosts); GNUNET_assert (pg != NULL); shutdown_handle = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_get_forever(), &shutdown_task, -- cgit v1.2.3