git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8cc2fa
)
socket_wrapper: also ignore AF_INET6 in swrap_setsockopt()
author
Stefan Metzmacher
<metze@samba.org>
Wed, 17 Feb 2010 08:43:00 +0000
(09:43 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 17 Feb 2010 13:13:55 +0000
(14:13 +0100)
metze
lib/socket_wrapper/socket_wrapper.c
patch
|
blob
|
history
diff --git
a/lib/socket_wrapper/socket_wrapper.c
b/lib/socket_wrapper/socket_wrapper.c
index a188cc623c0c4d346dc89f569850d2aa821a6aa4..9d732ee65299d7e18d7e9222c11776f1e7329eab 100644
(file)
--- 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;