diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-05-16 15:04:15 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-05-16 15:04:15 +0000 |
commit | 72dabf2eb55013193206d1fe0c1b0e805a5f4997 (patch) | |
tree | 273aec40140f67d9e6b207306e843f3625a793b9 /src | |
parent | 57cefe03acd24c41827df00b567f72bd5900c4fe (diff) | |
download | gnunet-72dabf2eb55013193206d1fe0c1b0e805a5f4997.tar.gz gnunet-72dabf2eb55013193206d1fe0c1b0e805a5f4997.zip |
- debug
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh-new.c | 2 | ||||
-rw-r--r-- | src/mesh/test_mesh2.conf | 6 | ||||
-rw-r--r-- | src/mesh/test_mesh2_local.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/mesh/gnunet-service-mesh-new.c b/src/mesh/gnunet-service-mesh-new.c index 806b61764..611f86179 100644 --- a/src/mesh/gnunet-service-mesh-new.c +++ b/src/mesh/gnunet-service-mesh-new.c | |||
@@ -3970,7 +3970,7 @@ handle_local_tunnel_create (void *cls, struct GNUNET_SERVER_Client *client, | |||
3970 | return; | 3970 | return; |
3971 | } | 3971 | } |
3972 | t->port = ntohl (t->port); | 3972 | t->port = ntohl (t->port); |
3973 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "CREATED TUNNEL %s [%x] (%x)\n", | 3973 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "CREATED TUNNEL %s[%x] (%x)\n", |
3974 | GNUNET_i2s (&my_full_id), t->id.tid, t->local_tid); | 3974 | GNUNET_i2s (&my_full_id), t->id.tid, t->local_tid); |
3975 | 3975 | ||
3976 | peer_info = peer_get (&t_msg->peer); | 3976 | peer_info = peer_get (&t_msg->peer); |
diff --git a/src/mesh/test_mesh2.conf b/src/mesh/test_mesh2.conf index 2f0f525da..35fecc32a 100644 --- a/src/mesh/test_mesh2.conf +++ b/src/mesh/test_mesh2.conf | |||
@@ -6,12 +6,12 @@ AUTOSTART = NO | |||
6 | 6 | ||
7 | [mesh] | 7 | [mesh] |
8 | BINARY = gnunet-service-mesh-new | 8 | BINARY = gnunet-service-mesh-new |
9 | AUTOSTART = YES | 9 | AUTOSTART = NO |
10 | ACCEPT_FROM = 127.0.0.1; | 10 | ACCEPT_FROM = 127.0.0.1; |
11 | HOSTNAME = localhost | 11 | HOSTNAME = localhost |
12 | PORT = 10511 | 12 | PORT = 10511 |
13 | # PREFIX = valgrind --leak-check=full | 13 | # PREFIX = valgrind --leak-check=full |
14 | # PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args | 14 | PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args |
15 | REFRESH_PATH_TIME = 3 s | 15 | REFRESH_PATH_TIME = 3 s |
16 | APP_ANNOUNCE_TIME = 5 s | 16 | APP_ANNOUNCE_TIME = 5 s |
17 | ID_ANNOUNCE_TIME = 5 s | 17 | ID_ANNOUNCE_TIME = 5 s |
@@ -54,7 +54,7 @@ WAN_QUOTA_IN = 3932160 | |||
54 | PORT = 12092 | 54 | PORT = 12092 |
55 | 55 | ||
56 | [arm] | 56 | [arm] |
57 | DEFAULTSERVICES = core | 57 | DEFAULTSERVICES = core mesh |
58 | PORT = 12366 | 58 | PORT = 12366 |
59 | 59 | ||
60 | [transport-tcp] | 60 | [transport-tcp] |
diff --git a/src/mesh/test_mesh2_local.c b/src/mesh/test_mesh2_local.c index 1e06d12ab..5167de2a4 100644 --- a/src/mesh/test_mesh2_local.c +++ b/src/mesh/test_mesh2_local.c | |||
@@ -197,7 +197,7 @@ do_find (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
197 | struct GNUNET_PeerIdentity id; | 197 | struct GNUNET_PeerIdentity id; |
198 | 198 | ||
199 | GNUNET_TESTING_peer_get_identity (me, &id); | 199 | GNUNET_TESTING_peer_get_identity (me, &id); |
200 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: CONNECT BY TYPE\n"); | 200 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: CONNECT BY PORT\n"); |
201 | t = GNUNET_MESH_tunnel_create (mesh_peer_1, NULL, &id, 1); | 201 | t = GNUNET_MESH_tunnel_create (mesh_peer_1, NULL, &id, 1); |
202 | } | 202 | } |
203 | 203 | ||
@@ -215,7 +215,7 @@ run (void *cls, | |||
215 | me = peer; | 215 | me = peer; |
216 | abort_task = | 216 | abort_task = |
217 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply | 217 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply |
218 | (GNUNET_TIME_UNIT_SECONDS, 20), &do_abort, | 218 | (GNUNET_TIME_UNIT_SECONDS, 120), &do_abort, |
219 | NULL); | 219 | NULL); |
220 | mesh_peer_1 = GNUNET_MESH_connect (cfg, /* configuration */ | 220 | mesh_peer_1 = GNUNET_MESH_connect (cfg, /* configuration */ |
221 | (void *) 1L, /* cls */ | 221 | (void *) 1L, /* cls */ |