aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/testbed_api.c')
-rw-r--r--src/testbed/testbed_api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c
index 597b7f348..691ab5a17 100644
--- a/src/testbed/testbed_api.c
+++ b/src/testbed/testbed_api.c
@@ -1005,7 +1005,7 @@ GNUNET_TESTBED_controller_start (const char *controller_ip,
1005 if (NULL == username) 1005 if (NULL == username)
1006 GNUNET_asprintf (&cp->dst, "%s", hostname); 1006 GNUNET_asprintf (&cp->dst, "%s", hostname);
1007 else 1007 else
1008 GNUNET_asprintf (&cp->dst, "%s@%s", hostname, username); 1008 GNUNET_asprintf (&cp->dst, "%s@%s", username, hostname);
1009 argp = 0; 1009 argp = 0;
1010 remote_args[argp++] = "ssh"; 1010 remote_args[argp++] = "ssh";
1011 remote_args[argp++] = "-p"; 1011 remote_args[argp++] = "-p";
@@ -1126,6 +1126,8 @@ GNUNET_TESTBED_controller_connect (const struct GNUNET_CONFIGURATION_Handle *cfg
1126 } 1126 }
1127 } 1127 }
1128 GNUNET_assert (NULL != host); 1128 GNUNET_assert (NULL != host);
1129 GNUNET_TESTBED_mark_host_registered_at_ (host, controller);
1130 controller->host = host;
1129 controller->opq_peer_create = 1131 controller->opq_peer_create =
1130 GNUNET_TESTBED_operation_queue_create_ ((unsigned int) 1132 GNUNET_TESTBED_operation_queue_create_ ((unsigned int)
1131 max_parallel_peer_create); 1133 max_parallel_peer_create);