[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0pre3-6-gc3c0795

Karolin Seeger kseeger at samba.org
Mon May 5 07:00:34 GMT 2008


The branch, v3-2-stable has been updated
       via  c3c0795f6a7fc80add7b38188893c6e82f721216 (commit)
      from  79677ea9da38ad56347cfcbdc1f2ee0ebab407e6 (commit)

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


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

    Fix typo noticed by David Disseldorp <ddiss at sgi.com>. AF_INET should be AF_INET6 in this case.
    Karolin, please pull for 3.2-stable.
    Jeremy.
    (cherry picked from commit 612e7cdff3139ff3b2cfaf4b213cb47ce75983d1)

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

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