about summary refs log tree commit diff
path: root/nscd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-06-27 13:10:44 -0400
committerUlrich Drepper <drepper@gmail.com>2011-06-27 13:10:44 -0400
commit034807a9cbddfa9e7d35df4cdb2ecce569a00851 (patch)
tree67dfe27afb30623f6867b0f48f0d286b6b102c2b /nscd
parent4902da17c8a413ed289528c08a6706d5cdb018dc (diff)
downloadglibc-034807a9cbddfa9e7d35df4cdb2ecce569a00851.tar.gz
glibc-034807a9cbddfa9e7d35df4cdb2ecce569a00851.tar.xz
glibc-034807a9cbddfa9e7d35df4cdb2ecce569a00851.zip
Fix handling of RES_USE_INET6 big in nscd
This fixes BZ #12350 also for nscd.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/aicache.c2
1 files changed, 1 insertions, 1 deletions
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)
     {