From: Jeremy Allison Date: Thu, 11 Oct 2007 01:47:41 +0000 (-0700) Subject: Added missing is_ipaddress is_ipaddress_v4 not in initial X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=1a2d1628f7ae761457656bcf95a6f3d2eb630ff2;p=metze%2Fsamba%2Fwip.git Added missing is_ipaddress is_ipaddress_v4 not in initial port from old svn code. Jeremy. (This used to be commit 169c5857b7e7922fe3fffef997ced0e014e925a8) --- diff --git a/source3/winbindd/winbindd_misc.c b/source3/winbindd/winbindd_misc.c index 5513e1790ba8..366f58a403e4 100644 --- a/source3/winbindd/winbindd_misc.c +++ b/source3/winbindd/winbindd_misc.c @@ -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; }