1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

Added missing is_ipaddress is_ipaddress_v4 not in initial

port from old svn code.
Jeremy.
This commit is contained in:
Jeremy Allison 2007-10-10 18:47:41 -07:00
parent 3f6bd0e1ec
commit 169c5857b7

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