From bbe989ee87ee81f45a4f6450bff468f7a193e79e Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sat, 31 Dec 2016 19:08:39 +0100 Subject: resolv: Deprecate RES_BLAST --- resolv/res_send.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'resolv/res_send.c') diff --git a/resolv/res_send.c b/resolv/res_send.c index cc2a7de886..1839225605 100644 --- a/resolv/res_send.c +++ b/resolv/res_send.c @@ -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; -- cgit v1.2.3