diff options
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/gethnamaddr.c | 2 | ||||
-rw-r--r-- | resolv/nss_dns/dns-host.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/resolv/gethnamaddr.c b/resolv/gethnamaddr.c index c13b1066f5..117e4a321e 100644 --- a/resolv/gethnamaddr.c +++ b/resolv/gethnamaddr.c @@ -690,7 +690,7 @@ gethostbyaddr(addr, len, af) uaddr[n] & 0xf, (uaddr[n] >> 4) & 0xf)); } - strcpy(qp, "ip6.int"); + strcpy(qp, "ip6.arpa"); break; default: abort(); diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c index 2102f63758..a75e9dfd83 100644 --- a/resolv/nss_dns/dns-host.c +++ b/resolv/nss_dns/dns-host.c @@ -282,7 +282,7 @@ _nss_dns_gethostbyaddr_r (const void *addr, socklen_t len, int af, qp = qbuf; for (n = IN6ADDRSZ - 1; n >= 0; n--) qp += sprintf (qp, "%x.%x.", uaddr[n] & 0xf, (uaddr[n] >> 4) & 0xf); - strcpy (qp, "ip6.int"); + strcpy (qp, "ip6.arpa"); break; default: /* Cannot happen. */ |