diff options
author | Steven Danneman <steven.danneman@isilon.com> | 2008-09-03 15:31:39 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-09-04 11:50:25 -0700 |
commit | 304554115a2f2dc316386a9ea5bec237d67f595f (patch) | |
tree | 31a234031804f712e6be3608c8d094fdd20518c9 /source3/libsmb/clifile.c | |
parent | c16f2907c5f7a66b3e5d58af8f87ad35c5f77670 (diff) | |
download | samba-304554115a2f2dc316386a9ea5bec237d67f595f.tar.gz samba-304554115a2f2dc316386a9ea5bec237d67f595f.tar.bz2 samba-304554115a2f2dc316386a9ea5bec237d67f595f.zip |
Cleanup of DC enumeration in get_dcs()
This is a fix for a few small inefficiencies/bugs in the get_dcs() path.
* because the third add_one_dc_unique() loop was outside the ADS check all DCs
returned from the non-sitename lookup were being tacked onto the dc_name_ip
list twice.
* add_one_dc_unique() now checks if the given IP address already exists before
adding it to the list, making the returned list actually unique
* added more thorough doxygen comment headers
(This used to be commit cb2d488e1dbd90953c496c5e25d648977884f7e3)
Diffstat (limited to 'source3/libsmb/clifile.c')
0 files changed, 0 insertions, 0 deletions