diff options
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r-- | src/transport/plugin_transport_unix.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 460869181..112f15d09 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -1387,7 +1387,10 @@ unix_transport_server_start (void *cls) | |||
1387 | plugin->unix_socket_path[0] = '@'; | 1387 | plugin->unix_socket_path[0] = '@'; |
1388 | un->sun_path[0] = '\0'; | 1388 | un->sun_path[0] = '\0'; |
1389 | } | 1389 | } |
1390 | plugin->ats_network = plugin->env->get_address_type (plugin->env->cls, (const struct sockaddr *) un, un_len); | 1390 | plugin->ats_network.type = htonl (GNUNET_ATS_NETWORK_TYPE); |
1391 | plugin->ats_network.value = htonl (plugin->env->get_address_type (plugin->env->cls, | ||
1392 | (const struct sockaddr *) un, | ||
1393 | un_len)); | ||
1391 | plugin->unix_sock.desc = | 1394 | plugin->unix_sock.desc = |
1392 | GNUNET_NETWORK_socket_create (AF_UNIX, SOCK_DGRAM, 0); | 1395 | GNUNET_NETWORK_socket_create (AF_UNIX, SOCK_DGRAM, 0); |
1393 | if (NULL == plugin->unix_sock.desc) | 1396 | if (NULL == plugin->unix_sock.desc) |