aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-27 09:49:39 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-27 09:49:39 +0000
commitbcdae74167d2e1f9d8dd9b01fb368bf8bcc2287d (patch)
treeb1f47d243e677d53de0c3503a1d5caf43dba073e /src/testing
parentdd22c2132e58ba4ac960337efc0f843c12f58780 (diff)
-undo #29640, somehow causes problems
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c
index 7f5154a4c5..8502809f3a 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -619,7 +619,8 @@ GNUNET_TESTING_reserve_port (struct GNUNET_TESTING_System *system)
continue;
bind_status = GNUNET_NETWORK_socket_bind (socket,
ai->ai_addr,
- ai->ai_addrlen);
+ ai->ai_addrlen,
+ 0);
GNUNET_NETWORK_socket_close (socket);
if (GNUNET_OK != bind_status)
break;
@@ -628,7 +629,8 @@ GNUNET_TESTING_reserve_port (struct GNUNET_TESTING_System *system)
continue;
bind_status = GNUNET_NETWORK_socket_bind (socket,
ai->ai_addr,
- ai->ai_addrlen);
+ ai->ai_addrlen,
+ 0);
GNUNET_NETWORK_socket_close (socket);
if (GNUNET_OK != bind_status)
break;