summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-03-09 13:39:25 +0100
committerStefan Metzmacher <metze@samba.org>2011-03-09 14:36:42 +0100
commit494aed59a5016f37cc81b5f89b7a732881b306b6 (patch)
tree545c64cdb82c338608ad6ead29d4e5b57aab557a /source4/lib
parent12f2170a2b31b0285c2d2421a333457efdf1be6b (diff)
downloadsamba-494aed59a5016f37cc81b5f89b7a732881b306b6.tar.gz
samba-494aed59a5016f37cc81b5f89b7a732881b306b6.tar.bz2
samba-494aed59a5016f37cc81b5f89b7a732881b306b6.zip
s4:lib/socket: use sockaddr_in6 in ipv6_tcp_accept()
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 9 14:36:42 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/socket/socket_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/socket/socket_ip.c b/source4/lib/socket/socket_ip.c
index 8ee12d8916..9a02f0184c 100644
--- a/source4/lib/socket/socket_ip.c
+++ b/source4/lib/socket/socket_ip.c
@@ -712,7 +712,7 @@ static NTSTATUS ipv6_listen(struct socket_context *sock,
static NTSTATUS ipv6_tcp_accept(struct socket_context *sock, struct socket_context **new_sock)
{
- struct sockaddr_in cli_addr;
+ struct sockaddr_in6 cli_addr;
socklen_t cli_addr_len = sizeof(cli_addr);
int new_fd;