diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-08-02 22:20:55 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-08-02 22:20:55 +0200 |
commit | a13a30e854d22639dc34b5502b402d8a579966e6 (patch) | |
tree | eeed75bb339ede32c2188b61b6dfc624bb49c39a /sys/src/libndb | |
parent | 8e07a4c9a52a0c9203f52e9d835e6da114f8a659 (diff) |
ndb: recognize ip6.arpa postfix in mkptrname()
Diffstat (limited to 'sys/src/libndb')
-rw-r--r-- | sys/src/libndb/dnsquery.c | 2 |
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; } |