aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp.c
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-11-16 15:21:20 +0000
committerNathan S. Evans <evans@in.tum.de>2010-11-16 15:21:20 +0000
commit03b104dab570998b1f791994a8134d35b4b4dc0a (patch)
tree98851c89adfbdeef8e0f1a3eff3d1854160ebd48 /src/transport/plugin_transport_udp.c
parent7f8e018e0b12b0ecc1a6021020af9e5f84846b02 (diff)
downloadgnunet-03b104dab570998b1f791994a8134d35b4b4dc0a.tar.gz
gnunet-03b104dab570998b1f791994a8134d35b4b4dc0a.zip
Testing changes required to work with new core api. Revert GNUNET_CORE_iterate_peers call to work properly.
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r--src/transport/plugin_transport_udp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index d95147a1a..94447bdbc 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -2293,9 +2293,10 @@ libgnunet_plugin_transport_udp_init (void *cls)
2293 2293
2294 plugin->service = service; 2294 plugin->service = service;
2295 2295
2296 GNUNET_CONFIGURATION_get_value_string(env->cfg, "transport-udp", "BINDTO", &plugin->bind_address); 2296 if (GNUNET_YES == GNUNET_CONFIGURATION_get_value_string(env->cfg, "transport-udp", "BINDTO", &plugin->bind_address))
2297 2297 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Binding udp plugin to specific address: `%s'\n", plugin->bind_address);
2298 GNUNET_CONFIGURATION_get_value_string(env->cfg, "transport-udp", "BINDTO6", &plugin->bind6_address); 2298 if (GNUNET_YES == GNUNET_CONFIGURATION_get_value_string(env->cfg, "transport-udp", "BINDTO6", &plugin->bind6_address))
2299 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Binding udp plugin to specific address: `%s'\n", plugin->bind6_address);
2299 2300
2300 if (plugin->behind_nat == GNUNET_NO) 2301 if (plugin->behind_nat == GNUNET_NO)
2301 { 2302 {