projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bugfix
[oweals/gnunet.git]
/
src
/
util
/
test_network.c
diff --git
a/src/util/test_network.c
b/src/util/test_network.c
index 377ec836f4a2712d74df5c18c9604f6f546205af..b55b346a79bbd4e1ffff2c27926fe6b00aa78d11 100644
(file)
--- a/
src/util/test_network.c
+++ b/
src/util/test_network.c
@@
-58,6
+58,7
@@
open_listen_socket ()
memset (&sa, 0, sizeof (sa));
sa.sin_port = htons (PORT);
+ sa.sin_family = AF_INET;
fd = SOCKET (AF_INET, SOCK_STREAM, 0);
GNUNET_assert (fd >= 0);
if (SETSOCKOPT (fd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof (on)) < 0)