Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 07/12/2000 22:53:25
Module Name: basesrc
Committed By: itojun
Date: Thu Jul 13 05:53:24 UTC 2000
Modified Files:
basesrc/usr.sbin/inetd [netbsd-1-5]: inetd.c
Log Message:
pullup the following (approved by releng-1-5)
1.64 -> 1.65, 1.66 -> 1.69
----------------------------
1.68 -> 1.69
permit square-bracket notation (as in RFC2732) for the first element
in inetd.conf. otherwise, we'll have (minor) problem putting IPv6 address in.
sync with kame.
[::1]:ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -ll
----------------------------
1.67 -> 1.68
explicitly check if the address family is supported, by using socket(2).
----------------------------
1.66 -> 1.67
more change on getaddrinfo error handling.
XXX enami, I admit it is not a good thing to check the error code from
getaddrinfo. it is sometimes mandatory, however. gai_strerror message
can be too generic in some cases. we can't really extend getaddrinfo,
as it was not invented by kame (see RFC2553)
----------------------------
1.64 -> 1.65
emit more friendly message on nonexistent service name.
From: enami
To generate a diff of this commit:
cvs rdiff -r1.62.2.2 -r1.62.2.3 basesrc/usr.sbin/inetd/inetd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.