summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-10 18:47:41 -0700
committerJeremy Allison <jra@samba.org>2007-10-10 18:47:41 -0700
commit1a2d1628f7ae761457656bcf95a6f3d2eb630ff2 (patch)
tree00ea7027aa07e42d853d49c11d3f170fc506ad4d
parent8e54530b52fd256137740107e9fdf000f00a7a30 (diff)
downloadsamba-1a2d1628f7ae761457656bcf95a6f3d2eb630ff2.tar.gz
samba-1a2d1628f7ae761457656bcf95a6f3d2eb630ff2.tar.bz2
samba-1a2d1628f7ae761457656bcf95a6f3d2eb630ff2.zip
Added missing is_ipaddress is_ipaddress_v4 not in initial
port from old svn code. Jeremy. (This used to be commit 169c5857b7e7922fe3fffef997ced0e014e925a8)
-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;
}