summaryrefslogtreecommitdiff
path: root/src/nat/gnunet-nat-server.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-07-04 08:12:31 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-07-04 08:12:31 +0000
commit1fe15d8579b09fc605bd950998ceda8a3b95eee2 (patch)
tree21d3f29223e21a310db8ac1a4c4636953eda0aaa /src/nat/gnunet-nat-server.c
parentbc22914fc51632679cd5f029ce8af6f1c321748d (diff)
Diffstat (limited to 'src/nat/gnunet-nat-server.c')
-rw-r--r--src/nat/gnunet-nat-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nat/gnunet-nat-server.c b/src/nat/gnunet-nat-server.c
index f8951d4d2..1c639596f 100644
--- a/src/nat/gnunet-nat-server.c
+++ b/src/nat/gnunet-nat-server.c
@@ -311,7 +311,7 @@ run (void *cls,
in6.sin6_family = AF_INET6;
in6.sin6_port = htons ((uint16_t) port);
#if HAVE_SOCKADDR_IN_SIN_LEN
- in4.sin_len = sizeof (in);
+ in4.sin_len = sizeof (in4);
in6.sin6_len = sizeof (in6);
#endif
server = GNUNET_SERVER_create (NULL, NULL,