summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/net/name6.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c
index caaec4d..3208946 100644
--- a/lib/libc/net/name6.c
+++ b/lib/libc/net/name6.c
@@ -2025,7 +2025,9 @@ _dns_ghbyaddr(void *rval, void *cb_data, va_list ap)
querybuf *buf;
char qbuf[MAXDNAME+1];
char *hlist[2];
+#ifdef INET6
char *tld6[] = { "ip6.arpa", NULL };
+#endif
char *tld4[] = { "in-addr.arpa", NULL };
char **tld;
res_state statp;
OpenPOWER on IntegriCloud