mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
resolv: Deprecate RES_BLAST
This commit is contained in:
@@ -424,8 +424,7 @@ __libc_res_nsend(res_state statp, const u_char *buf, int buflen,
|
||||
* Some resolvers want to even out the load on their nameservers.
|
||||
* Note that RES_BLAST overrides RES_ROTATE.
|
||||
*/
|
||||
if (__builtin_expect ((statp->options & RES_ROTATE) != 0, 0) &&
|
||||
(statp->options & RES_BLAST) == 0) {
|
||||
if (__builtin_expect ((statp->options & RES_ROTATE) != 0, 0)) {
|
||||
struct sockaddr_in ina;
|
||||
struct sockaddr_in6 *inp;
|
||||
int lastns = statp->nscount - 1;
|
||||
|
Reference in New Issue
Block a user