The branch, v3-2-test has been updated
       via  612e7cdff3139ff3b2cfaf4b213cb47ce75983d1 (commit)
      from  5a270bc99f52483f168d662d843672d05be74473 (commit)

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


- Log -----------------------------------------------------------------
commit 612e7cdff3139ff3b2cfaf4b213cb47ce75983d1
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Wed Apr 30 09:28:42 2008 -0700

    Fix typo noticed by David Disseldorp <[EMAIL PROTECTED]>. AF_INET should be 
AF_INET6 in this case.
    Karolin, please pull for 3.2-stable.
    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

Reply via email to