[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-749-gb5faa34

Stefan Metzmacher metze at samba.org
Tue Apr 14 10:53:45 GMT 2009


The branch, v3-4-test has been updated
       via  b5faa34596eed3ada7f45db991ef0beb0391ce82 (commit)
      from  3368cd38f710b9d21a3382bfd8971f0f6517eec1 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test


- Log -----------------------------------------------------------------
commit b5faa34596eed3ada7f45db991ef0beb0391ce82
Author: Stefan Metzmacher <metze at samba.org>
Date:   Tue Apr 14 12:45:48 2009 +0200

    socket_wrapper: fix the build on systems without ipv6 support
    
    metze
    (cherry picked from commit 74707e8e8e1be2cbaa71fb0442957be2e663cbde)

-----------------------------------------------------------------------

Summary of changes:
 lib/socket_wrapper/socket_wrapper.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/socket_wrapper/socket_wrapper.c b/lib/socket_wrapper/socket_wrapper.c
index 193e7a1..cdfdcee 100644
--- 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;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list