From: Matthias Wachs Date: Tue, 8 May 2012 12:30:28 +0000 (+0000) Subject: - braodcast fix X-Git-Tag: initial-import-from-subversion-38251~13605 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f1a81cdef353dc670744447c77298d39797b4005;p=oweals%2Fgnunet.git - braodcast fix --- diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index ec6e52236..905b7f995 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -2229,10 +2229,11 @@ libgnunet_plugin_transport_udp_init (void *cls) return NULL; } - LOG (GNUNET_ERROR_TYPE_DEBUG, "Starting broadcasting\n"); if (broadcast == GNUNET_YES) + { + LOG (GNUNET_ERROR_TYPE_DEBUG, "Starting broadcasting\n"); setup_broadcast (plugin, &serverAddrv6, &serverAddrv4); - + } GNUNET_free_non_null (bind4_address); GNUNET_free_non_null (bind6_address);