Skip Menu |

Subject: SVN Commit

Fix COPY_FIRST_CANONNAME hostent search

In fake-addrinfo.c, the COPY_FIRST_CANONNAME logic erroneously assumes
that h_name is the same as h_aliases[0]. Look at h_name before
h_aliases for an FQDN, since h_name is normally the
forward-canonicalized name and h_aliases are not.

[ rewrote commit message]
Author: Viktor Dukhovni <>
Committer: Greg Hudson <>
Commit: 8924d0d333248e7ea1073affdf48eaafc1909d97
Branch: master
src/util/support/fake-addrinfo.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)