(doit): use getnameinfo_verified

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7527 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-12-05 10:59:52 +00:00
parent 8ba4450cf7
commit d82eb01c8a

View File

@@ -692,9 +692,9 @@ doit(struct sockaddr *who, int who_len)
}
#endif /* _SC_CRAY_SECURE_SYS */
error = getnameinfo (who, who_len, host_addr, sizeof(host_addr),
NULL, 0,
registerd_host_only ? NI_NAMEREQD : 0);
error = getnameinfo_verified (who, who_len, host_addr, sizeof(host_addr),
NULL, 0,
registerd_host_only ? NI_NAMEREQD : 0);
if (error)
fatal(net, "Couldn't resolve your address into a host name.\r\n\
Please contact your net administrator");