diff options
author | Günther Deschner <gd@samba.org> | 2008-05-07 21:02:50 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-05-09 14:59:19 +0200 |
commit | eaef936523b9fbd62e53b7b8f8ee6576da525eb4 (patch) | |
tree | b4e73416eb3c34822eadf32984a5781463d0b48a /source3/libsmb | |
parent | 9be17e2187a93633b23761fc2f6f0b40c94db809 (diff) | |
download | samba-eaef936523b9fbd62e53b7b8f8ee6576da525eb4.tar.gz samba-eaef936523b9fbd62e53b7b8f8ee6576da525eb4.tar.bz2 samba-eaef936523b9fbd62e53b7b8f8ee6576da525eb4.zip |
dsgetdcname: remove invalid assumption in discover_dc_dns().
Guenther
(This used to be commit f48b2e844b673e99c84cb24f3c3718352ab93ce5)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/dsgetdcname.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index a21fc9a217..981994ca43 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/libsmb/dsgetdcname.c @@ -552,11 +552,6 @@ static NTSTATUS discover_dc_dns(TALLOC_CTX *mem_ctx, r->port = dcs[count].port; r->hostname = dcs[count].hostname; - if (!(flags & DS_IP_REQUIRED)) { - count++; - continue; - } - /* If we don't have an IP list for a name, lookup it up */ if (!dcs[i].ss_s) { |