diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2013-06-20 15:32:31 +0000 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2013-06-20 15:32:31 +0000 |
commit | 787064590f251187bfbe6e33da38c5782f80ada2 (patch) | |
tree | c7f9e9a509e3b5eadfc5347a47c36eea01d99428 /src/transport/plugin_transport_udp.c | |
parent | e5af03c2e73f6e4ee8558e29e99ff39a8d7204d2 (diff) | |
download | gnunet-787064590f251187bfbe6e33da38c5782f80ada2.tar.gz gnunet-787064590f251187bfbe6e33da38c5782f80ada2.zip |
Fixed GNUNET_CLIENT_service_test on FreeBSD.
This should also fix any other platform with
AF_UNIX that is not Linux or Mingw.
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index c1511889b..fa90d16c1 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -2545,7 +2545,7 @@ setup_sockets (struct Plugin *plugin, | |||
2545 | GNUNET_a2s (serverAddr, addrlen)); | 2545 | GNUNET_a2s (serverAddr, addrlen)); |
2546 | /* binding */ | 2546 | /* binding */ |
2547 | if (GNUNET_OK == GNUNET_NETWORK_socket_bind (plugin->sockv6, | 2547 | if (GNUNET_OK == GNUNET_NETWORK_socket_bind (plugin->sockv6, |
2548 | serverAddr, addrlen)) | 2548 | serverAddr, addrlen, 0)) |
2549 | break; | 2549 | break; |
2550 | eno = errno; | 2550 | eno = errno; |
2551 | if (0 != plugin->port) | 2551 | if (0 != plugin->port) |
@@ -2622,7 +2622,7 @@ setup_sockets (struct Plugin *plugin, | |||
2622 | 2622 | ||
2623 | /* binding */ | 2623 | /* binding */ |
2624 | if (GNUNET_OK == GNUNET_NETWORK_socket_bind (plugin->sockv4, | 2624 | if (GNUNET_OK == GNUNET_NETWORK_socket_bind (plugin->sockv4, |
2625 | serverAddr, addrlen)) | 2625 | serverAddr, addrlen, 0)) |
2626 | break; | 2626 | break; |
2627 | eno = errno; | 2627 | eno = errno; |
2628 | if (0 != plugin->port) | 2628 | if (0 != plugin->port) |