Date: Mon, 6 Mar 2000 23:52:04 -0800 (PST) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libutil realhostname.c Message-ID: <200003070752.XAA38302@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ume 2000/03/06 23:52:04 PST
Modified files:
lib/libutil realhostname.c
Log:
Since crypto/openssh/login.c was changed to use realhostname_sa(),
when connecting via IPv6, hostname was not recorded to utmp anymore.
Because, if hostname is longer than buffer size, getnameinfo() returns
with ENI_MEMORY.
Reviewed by: shin
Approved by: jkh
Revision Changes Path
1.6 +30 -14 src/lib/libutil/realhostname.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003070752.XAA38302>
