aboutsummaryrefslogtreecommitdiff
path: root/nscd/aicache.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/aicache.c')
-rw-r--r--nscd/aicache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/aicache.c b/nscd/aicache.c
index 3190a13..6c8d83a 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)
{