* Name of section in configuration file to use for
* additional options.
*/
-static char *section_name = "undefined";
+static char *section_name;
/**
* Flag set to 1 if we use IPPROTO_UDP.
return;
}
}
+
+ remote_len = 0;
+
if (NULL != remote_addr)
{
remote_len = GNUNET_STRINGS_parse_socket_addr (remote_addr,
if (NULL != local_addr)
{
+ if (NULL == section_name)
+ section_name = GNUNET_strdup ("undefined");
nh = GNUNET_NAT_register (c,
section_name,
proto,