From 1a2d1628f7ae761457656bcf95a6f3d2eb630ff2 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 10 Oct 2007 18:47:41 -0700 Subject: Added missing is_ipaddress is_ipaddress_v4 not in initial port from old svn code. Jeremy. (This used to be commit 169c5857b7e7922fe3fffef997ced0e014e925a8) --- source3/winbindd/winbindd_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/winbindd/winbindd_misc.c b/source3/winbindd/winbindd_misc.c index 5513e1790b..366f58a403 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; } -- cgit