[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2262-g767740a

Jeremy Allison jra at samba.org
Wed Apr 30 16:29:09 GMT 2008


The branch, v3-3-test has been updated
       via  767740a914c7ebeb88886f520380b7fa365e315d (commit)
      from  b379b5b5d8a6daccc69aaf2be6d9a6e276e7dd78 (commit)

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


- Log -----------------------------------------------------------------
commit 767740a914c7ebeb88886f520380b7fa365e315d
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Apr 30 09:28:47 2008 -0700

    Fix typo noticed by David Disseldorp <ddiss at sgi.com>. AF_INET should be AF_INET6 in this case.
    Jeremy.

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

Summary of changes:
 source/utils/net_dns.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/utils/net_dns.c b/source/utils/net_dns.c
index fb6644d..14d45e2 100644
--- a/source/utils/net_dns.c
+++ b/source/utils/net_dns.c
@@ -167,7 +167,7 @@ int get_my_ip_address( struct sockaddr_storage **pp_ss )
 			continue;
 		}
 #if defined(HAVE_IPV6)
-		if ((nics[i].ip.ss_family == AF_INET)) {
+		if ((nics[i].ip.ss_family == AF_INET6)) {
 			memcpy(&list[count++], &nics[i].ip,
 			       sizeof(struct sockaddr_storage));
 		} else


-- 
Samba Shared Repository


More information about the samba-cvs mailing list