commit 228ee9347578aa4b9c73156afe5cb1d96eb9d6e1
parent 35d2df8c825e2ccdeb11dd64cd46d801bf0456a4
Author: Bart Polot <bart@net.in.tum.de>
Date: Thu, 16 May 2013 17:33:08 +0000
- doh
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mesh/gnunet-service-mesh-new.c b/src/mesh/gnunet-service-mesh-new.c
@@ -3966,9 +3966,9 @@ handle_local_tunnel_create (void *cls, struct GNUNET_SERVER_Client *client,
GNUNET_SERVER_receive_done (client, GNUNET_SYSERR);
return;
}
- t->port = ntohl (t->port);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "CREATED TUNNEL %s[%x] (%x)\n",
- GNUNET_i2s (&my_full_id), t->id.tid, t->local_tid);
+ t->port = ntohl (t_msg->port);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "CREATED TUNNEL %s[%x]:%u (%x)\n",
+ GNUNET_i2s (&my_full_id), t->id.tid, t->port, t->local_tid);
peer_info = peer_get (&t_msg->peer);
GNUNET_array_append (peer_info->tunnels, peer_info->ntunnels, t);