ndb: recognize ip6.arpa postfix in mkptrname()
This commit is contained in:
parent
8e07a4c9a5
commit
a13a30e854
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue