Date: Sat, 29 Jan 2000 10:21:06 -0800 (PST) From: Yoshinobu Inoue <shin@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/telnet commands.c src/crypto/telnet/telnet commands.c Message-ID: <200001291821.KAA96033@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
shin 2000/01/29 10:21:06 PST
Modified files:
usr.bin/telnet commands.c
crypto/telnet/telnet commands.c
Log:
Add NI_NAMEREQD flag to getnameinfo() call. Without this flag,
getnameinfo() don't return error at name resolving failure.
But it is used at doaddrlookup(-N) case in telnet, error need to be
returned to correctly initialize hostname buffer.
Discovered at checking recent KAME repository change, noticed by itojun.
Revision Changes Path
1.15 +2 -2 src/usr.bin/telnet/commands.c
1.6 +2 -2 src/crypto/telnet/telnet/commands.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?200001291821.KAA96033>
