git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2ef1fe
)
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:47:18 +0000
(12:47 +0200)
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 d3853de50d0c4b64995e3aeea5ed1b2d4869def8..d809d8a500d9b783cc4d4eec8f09ee64684dd5bc 100644
(file)
--- a/
lib/socket_wrapper/socket_wrapper.c
+++ b/
lib/socket_wrapper/socket_wrapper.c
@@
-1102,8
+1102,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;
}