Trac Ticket #46 - (additional) setup-ds-admin.pl does not
like ipv6 only hostnames
commit 850005499bd92c5b9b0027f944fcd33633c8db46 included a logic bug.
The host name returned from getnameinfo needs to be checked with the
original when the host name is not NULL.