From 1fe15d8579b09fc605bd950998ceda8a3b95eee2 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 4 Jul 2011 08:12:31 +0000 Subject: [PATCH] --- src/nat/gnunet-nat-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.25.1