summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd_misc.c')
-rw-r--r--source3/winbindd/winbindd_misc.c2
1 files changed, 1 insertions, 1 deletions
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;
}