(gethostbyaddr): Use ip6.addr for reverse lookup not ip6.int.
authordrepper <drepper>
Fri, 26 Oct 2001 23:49:48 +0000 (23:49 +0000)
committerdrepper <drepper>
Fri, 26 Oct 2001 23:49:48 +0000 (23:49 +0000)
resolv/gethnamaddr.c

index c13b106..117e4a3 100644 (file)
@@ -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();