aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_init.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-06-28 01:30:07 +0000
committerUlrich Drepper <drepper@redhat.com>2004-06-28 01:30:07 +0000
commit340ef046a6b7e10b112e387f453bc78348c04745 (patch)
tree33d7ae6c8a8d964395145a8cb55d5a11772cfb1a /resolv/res_init.c
parentf2481c319d604a9d797df6147ec6d3010861e4a4 (diff)
downloadglibc-340ef046a6b7e10b112e387f453bc78348c04745.tar
glibc-340ef046a6b7e10b112e387f453bc78348c04745.tar.gz
glibc-340ef046a6b7e10b112e387f453bc78348c04745.tar.bz2
glibc-340ef046a6b7e10b112e387f453bc78348c04745.zip
Update.
2004-06-27 Ulrich Drepper <drepper@redhat.com> * resolv/resolv.h (RES_NOIP6DOTINT): Define. * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option. * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int if RES_NOIP6DOTINT flag is set. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
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 cbab7cada5..d0559c3821 100644
--- a/resolv/res_init.c
+++ b/resolv/res_init.c
@@ -492,6 +492,9 @@ res_setoptions(res_state statp, const char *options, const char *source) {
} else if (!strncmp(cp, "ip6-bytestring",
sizeof("ip6-bytestring") - 1)) {
statp->options |= RES_USEBSTRING;
+ } else if (!strncmp(cp, "no-ip6-dotint",
+ sizeof("no-ip6-dotint") - 1)) {
+ statp->options |= RES_NOIP6DOTINT;
} else if (!strncmp(cp, "rotate", sizeof("rotate") - 1)) {
statp->options |= RES_ROTATE;
} else if (!strncmp(cp, "no-check-names",