From 0b3e950731fe72a258a631e39ca1304d54663536 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 17 Feb 2010 09:43:00 +0100 Subject: socket_wrapper: also ignore AF_INET6 in swrap_setsockopt() metze --- lib/socket_wrapper/socket_wrapper.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/socket_wrapper') diff --git a/lib/socket_wrapper/socket_wrapper.c b/lib/socket_wrapper/socket_wrapper.c index a188cc623c..9d732ee652 100644 --- a/lib/socket_wrapper/socket_wrapper.c +++ b/lib/socket_wrapper/socket_wrapper.c @@ -1839,6 +1839,10 @@ _PUBLIC_ int swrap_setsockopt(int s, int level, int optname, const void *o switch (si->family) { case AF_INET: return 0; +#ifdef HAVE_IPV6 + case AF_INET6: + return 0; +#endif default: errno = ENOPROTOOPT; return -1; -- cgit