From eaef936523b9fbd62e53b7b8f8ee6576da525eb4 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 7 May 2008 21:02:50 +0200 Subject: dsgetdcname: remove invalid assumption in discover_dc_dns(). Guenther (This used to be commit f48b2e844b673e99c84cb24f3c3718352ab93ce5) --- source3/libsmb/dsgetdcname.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3/libsmb') 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) { -- cgit