aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-09 21:11:42 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-09 21:11:42 +0000
commit9ffbe0b7a13b6f086f1d8bf5c770ed0476fe040d (patch)
tree13a3cc30307a6fb712305cec45a22849b978dc0b /src/transport
parent16ff0278c95bcc70dcf0eff25a411f03887bda7c (diff)
downloadgnunet-9ffbe0b7a13b6f086f1d8bf5c770ed0476fe040d.tar.gz
gnunet-9ffbe0b7a13b6f086f1d8bf5c770ed0476fe040d.zip
pass cfg to nat
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/plugin_transport_tcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index 4a5cffa23..b85c04402 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -641,7 +641,8 @@ add_to_address_list (struct Plugin *plugin,
641 } 641 }
642 if ( (plugin->behind_nat == GNUNET_YES) && 642 if ( (plugin->behind_nat == GNUNET_YES) &&
643 (plugin->enable_upnp == GNUNET_YES) ) 643 (plugin->enable_upnp == GNUNET_YES) )
644 lal->nat = GNUNET_NAT_register (sa, salen, 644 lal->nat = GNUNET_NAT_register (plugin->env->cfg,
645 sa, salen,
645 &nat_port_map_callback, 646 &nat_port_map_callback,
646 lal); 647 lal);
647} 648}