ref: a13a30e854d22639dc34b5502b402d8a579966e6
parent: 8e07a4c9a52a0c9203f52e9d835e6da114f8a659
author: cinap_lenrek <[email protected]>
date: Thu Aug 2 18:20:55 EDT 2012
ndb: recognize ip6.arpa postfix in mkptrname()
--- a/sys/src/libndb/dnsquery.c
+++ b/sys/src/libndb/dnsquery.c
@@ -81,7 +81,7 @@
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;
}