git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3368cd3
)
socket_wrapper: fix the build on systems without ipv6 support
author
Stefan Metzmacher
<metze@samba.org>
Tue, 14 Apr 2009 10:45:48 +0000
(12:45 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 14 Apr 2009 10:53:25 +0000
(12:53 +0200)
metze
(cherry picked from commit
74707e8e8e1be2cbaa71fb0442957be2e663cbde
)
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 193e7a1a7c978c70e697570f037ad09bdabc2a5e..cdfdceef216da1ace192ccabb08763adb0adb8fd 100644
(file)
--- a/
lib/socket_wrapper/socket_wrapper.c
+++ b/
lib/socket_wrapper/socket_wrapper.c
@@
-1101,8
+1101,10
@@
static uint8_t *swrap_marshall_packet(struct socket_info *si,
switch (si->family) {
case AF_INET:
break;
+#ifdef HAVE_IPV6
case AF_INET6:
break;
+#endif
default:
return NULL;
}