summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/libndb/dnsquery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libndb/dnsquery.c b/sys/src/libndb/dnsquery.c
index b3c982fdf..fc45adff5 100644
--- a/sys/src/libndb/dnsquery.c
+++ b/sys/src/libndb/dnsquery.c
@@ -81,7 +81,7 @@ mkptrname(char *ip, char *rip, int rlen)
char *p, *np;
int len;
- if(cistrstr(ip, "in-addr.arpa")){
+ if(cistrstr(ip, "in-addr.arpa") || cistrstr(ip, "ip6.arpa")){
nstrcpy(rip, ip, rlen);
return;
}