1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Added missing is_ipaddress is_ipaddress_v4 not in initial

port from old svn code.
Jeremy.
(This used to be commit 169c5857b7)
This commit is contained in:
Jeremy Allison 2007-10-10 18:47:41 -07:00
parent 8e54530b52
commit 1a2d1628f7

View 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;
}