From 5b86133d8584b76fa7e5700c4a11305e606c32c5 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 30 Jun 2011 11:30:36 +0000 Subject: --- src/transport/plugin_transport_http.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 071520330..b955ba139 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c @@ -2914,6 +2914,7 @@ tcp_nat_port_map_callback (void *cls, const struct sockaddr *addr, socklen_t addrlen) { + struct Plugin *plugin = cls; struct IPv4HttpAddress *t4; struct IPv6HttpAddress *t6; @@ -2928,7 +2929,7 @@ tcp_nat_port_map_callback (void *cls, add_remove, GNUNET_a2s (addr, addrlen)); /* convert 'addr' to our internal format */ - + return; GNUNET_assert(cls !=NULL); af = addr->sa_family; if ((af == AF_INET) && @@ -3566,7 +3567,7 @@ LIBGNUNET_PLUGIN_TRANSPORT_INIT (void *cls) tmp = addrs[counter]; } - /* + plugin->nat = GNUNET_NAT_register (env->cfg, GNUNET_YES, port, @@ -3576,7 +3577,6 @@ LIBGNUNET_PLUGIN_TRANSPORT_INIT (void *cls) &tcp_nat_port_map_callback, &try_connection_reversal, plugin); - */ while (ret > 0) { ret--; -- cgit v1.2.3