summaryrefslogtreecommitdiff
path: root/resolv/res_init.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-02-11 16:21:43 +0000
committerJakub Jelinek <jakub@redhat.com>2007-02-11 16:21:43 +0000
commit6c8cc2d3042d0585741452006c29cb21fbba39ea (patch)
tree9050443fde19b762762681cb114b3ca55831a038 /resolv/res_init.c
parentce28a8ab09cdd49890261d37b5b9280131d18014 (diff)
Updated to fedora-glibc-20070211T1607cvs/fedora-glibc-2_5_90-17
Diffstat (limited to 'resolv/res_init.c')
-rw-r--r--resolv/res_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/resolv/res_init.c b/resolv/res_init.c
index b5a03d1883..640e087920 100644
--- a/resolv/res_init.c
+++ b/resolv/res_init.c
@@ -510,6 +510,8 @@ res_setoptions(res_state statp, const char *options, const char *source) {
} else if (!strncmp(cp, "no-check-names",
sizeof("no-check-names") - 1)) {
statp->options |= RES_NOCHECKNAME;
+ } else if (!strncmp(cp, "edns0", sizeof("edns0") - 1)) {
+ statp->options |= RES_USE_EDNS0;
} else {
/* XXX - print a warning here? */
}