From 034807a9cbddfa9e7d35df4cdb2ecce569a00851 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 27 Jun 2011 13:10:44 -0400 Subject: Fix handling of RES_USE_INET6 big in nscd This fixes BZ #12350 also for nscd. --- nscd/aicache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nscd/aicache.c') diff --git a/nscd/aicache.c b/nscd/aicache.c index 3190a13b06..6c8d83a7ad 100644 --- a/nscd/aicache.c +++ b/nscd/aicache.c @@ -534,7 +534,7 @@ next_nip: } out: - _res.options = old_res_options; + _res.options |= old_res_options & RES_USE_INET6; if (dataset != NULL && !alloca_used) { -- cgit v1.2.3