aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-11-01 11:44:44 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-11-01 11:44:44 +0000
commitc28bd04f017edfcae59f8d18698090c9e60e3699 (patch)
tree77e87d8ef65e34ddf0a864c2fe94244d0fd50035 /src
parent45ecb8fc02474aaadbc6a417c477d9ba0780b5c7 (diff)
downloadgnunet-c28bd04f017edfcae59f8d18698090c9e60e3699.tar.gz
gnunet-c28bd04f017edfcae59f8d18698090c9e60e3699.zip
fix for port-conflicts while starting multiple controllers on same host
Diffstat (limited to 'src')
-rw-r--r--src/testbed/gnunet-service-testbed.c2
-rw-r--r--src/testbed/test_testbed_api.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c
index 24626d702..d39bd82ad 100644
--- a/src/testbed/gnunet-service-testbed.c
+++ b/src/testbed/gnunet-service-testbed.c
@@ -1806,7 +1806,7 @@ handle_init (void *cls, struct GNUNET_SERVER_Client *client,
1806 master_context->client = client; 1806 master_context->client = client;
1807 master_context->host_id = ntohl (msg->host_id); 1807 master_context->host_id = ntohl (msg->host_id);
1808 master_context->master_ip = GNUNET_strdup (controller_hostname); 1808 master_context->master_ip = GNUNET_strdup (controller_hostname);
1809 LOG_DEBUG ("Master Controller IP: %s\n", master_context->master_ip); 1809 LOG_DEBUG ("Our IP: %s\n", master_context->master_ip);
1810 master_context->system = 1810 master_context->system =
1811 GNUNET_TESTING_system_create ("testbed", master_context->master_ip, hostname); 1811 GNUNET_TESTING_system_create ("testbed", master_context->master_ip, hostname);
1812 host = 1812 host =
diff --git a/src/testbed/test_testbed_api.conf b/src/testbed/test_testbed_api.conf
index dfdfdb93b..c094edee7 100644
--- a/src/testbed/test_testbed_api.conf
+++ b/src/testbed/test_testbed_api.conf
@@ -43,7 +43,7 @@ PORT = 12092
43AUTOSTART = YES 43AUTOSTART = YES
44 44
45[arm] 45[arm]
46DEFAULTSERVICES = core 46DEFAULTSERVICES = core transport
47PORT = 12366 47PORT = 12366
48DEBUG = NO 48DEBUG = NO
49 49