Added missing is_ipaddress is_ipaddress_v4 not in initial
authorJeremy Allison <jra@samba.org>
Thu, 11 Oct 2007 01:47:41 +0000 (18:47 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 11 Oct 2007 01:47:41 +0000 (18:47 -0700)
port from old svn code.
Jeremy.

source/winbindd/winbindd_misc.c

index 5513e1790ba820f6318d90d20c5a37d8ffbdd8da..366f58a403e4223c8155bc8f2b44d65ed3e13f61 100644 (file)
@@ -339,7 +339,7 @@ enum winbindd_result winbindd_dual_dsgetdcname(struct winbindd_domain *domain,
                }
        }
 
-       if ((!dc || !is_ipaddress(dc)) && info->domain_controller_name) {
+       if ((!dc || !is_ipaddress_v4(dc)) && info->domain_controller_name) {
                dc = info->domain_controller_name;
        }