summaryrefslogtreecommitdiff
path: root/resolv/res_init.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-04-07 06:20:59 +0000
committerJakub Jelinek <jakub@redhat.com>2009-04-07 06:20:59 +0000
commit11799e4168a3ef36af3cb7ffb4f5cfaed7e244d7 (patch)
treedbf8c4b86a0b68b7754f43e579c8f035d47d1ec5 /resolv/res_init.c
parent1a6da537df1fe1726d95407ec04cf65caa1f8121 (diff)
Updated to fedora-glibc-20090407T0545
Diffstat (limited to 'resolv/res_init.c')
-rw-r--r--resolv/res_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/resolv/res_init.c b/resolv/res_init.c
index 2bf830cc95..8841fe9faa 100644
--- a/resolv/res_init.c
+++ b/resolv/res_init.c
@@ -540,6 +540,9 @@ res_setoptions(res_state statp, const char *options, const char *source) {
statp->options |= RES_NOCHECKNAME;
} else if (!strncmp(cp, "edns0", sizeof("edns0") - 1)) {
statp->options |= RES_USE_EDNS0;
+ } else if (!strncmp(cp, "single-request",
+ sizeof("single-request") - 1)) {
+ statp->options |= RES_SNGLKUP;
} else {
/* XXX - print a warning here? */
}