mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 01:24:46 -04:00
add extra test
This commit is contained in:
parent
fb5363b897
commit
9618b7e8c2
1 changed files with 6 additions and 0 deletions
|
|
@ -69,6 +69,12 @@ main(int argc, char **argv) {
|
|||
he = getipnodebyname(argv[1], AF_INET6, AI_DEFAULT|AI_ALL,
|
||||
&error);
|
||||
print_he(he, error, "getipnodebyname", argv[1]);
|
||||
if (he != NULL)
|
||||
freehostent(he);
|
||||
|
||||
he = getipnodebyname(argv[1], AF_INET6, AI_DEFAULT,
|
||||
&error);
|
||||
print_he(he, error, "getipnodebyname", argv[1]);
|
||||
if (he != NULL)
|
||||
freehostent(he);
|
||||
argv++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue