diff options
Diffstat (limited to 'src/transport/transport_api_cmd_start_peer.c')
-rw-r--r-- | src/transport/transport_api_cmd_start_peer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/transport_api_cmd_start_peer.c b/src/transport/transport_api_cmd_start_peer.c index a026d48cc..60f416f85 100644 --- a/src/transport/transport_api_cmd_start_peer.c +++ b/src/transport/transport_api_cmd_start_peer.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "gnunet_util_lib.h" | 27 | #include "gnunet_util_lib.h" |
28 | #include "gnunet_testing_ng_lib.h" | 28 | #include "gnunet_testing_ng_lib.h" |
29 | #include "gnunet_testing_netjail_lib.h" | ||
29 | #include "gnunet_peerstore_service.h" | 30 | #include "gnunet_peerstore_service.h" |
30 | #include "gnunet_transport_core_service.h" | 31 | #include "gnunet_transport_core_service.h" |
31 | #include "gnunet_transport_application_service.h" | 32 | #include "gnunet_transport_application_service.h" |
@@ -172,6 +173,7 @@ start_peer_run (void *cls, | |||
172 | char *tcp_communicator_unix_path; | 173 | char *tcp_communicator_unix_path; |
173 | char *udp_communicator_unix_path; | 174 | char *udp_communicator_unix_path; |
174 | char *bindto; | 175 | char *bindto; |
176 | char *bindto_udp; | ||
175 | 177 | ||
176 | if (GNUNET_NO == GNUNET_DISK_file_test (sps->cfgname)) | 178 | if (GNUNET_NO == GNUNET_DISK_file_test (sps->cfgname)) |
177 | { | 179 | { |
@@ -207,6 +209,9 @@ start_peer_run (void *cls, | |||
207 | "%s:60002", | 209 | "%s:60002", |
208 | sps->node_ip); | 210 | sps->node_ip); |
209 | 211 | ||
212 | GNUNET_asprintf (&bindto_udp, | ||
213 | "2086"); | ||
214 | |||
210 | LOG (GNUNET_ERROR_TYPE_ERROR, | 215 | LOG (GNUNET_ERROR_TYPE_ERROR, |
211 | "node_ip %s\n", | 216 | "node_ip %s\n", |
212 | bindto); | 217 | bindto); |