summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordenny <denny@cvs.openbsd.org>1997-06-26 06:27:28 +0000
committerdenny <denny@cvs.openbsd.org>1997-06-26 06:27:28 +0000
commitfb44687745c447b8a6ed41e0212b271d4e862842 (patch)
tree6a67c8ed2c4d45b667f34a58b6b1ef0074ab05ea
parentd362e9bc74490ece11a266d83fcac8a7c6f31aa9 (diff)
Document inetd's allowing mutliple comma-separated hostnames in inetd.conf.
-rw-r--r--usr.sbin/inetd/inetd.813
1 files changed, 10 insertions, 3 deletions
diff --git a/usr.sbin/inetd/inetd.8 b/usr.sbin/inetd/inetd.8
index f39311d2432..8d9fec96f8a 100644
--- a/usr.sbin/inetd/inetd.8
+++ b/usr.sbin/inetd/inetd.8
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)inetd.8 6.7 (Berkeley) 3/16/91
-.\" $Id: inetd.8,v 1.4 1997/06/18 03:01:42 denny Exp $
+.\" $Id: inetd.8,v 1.5 1997/06/26 06:27:27 denny Exp $
.\"
.Dd March 16, 1991
.Dt INETD 8
@@ -107,9 +107,16 @@ address specifier prefixed to it, separated from the service name by a
colon. If this is done, the string before the colon in the first field
indiciates what local address
.Nm
-should use when listening for that service, or the single character
+should use when listening for that service. Multiple local addresses
+can be specified on the same line, separated by commas. Numeric IP
+addresses in dotted-quad notation can be used as well as symbolic
+hostnames. Symbolic hostnames are looked up using gethostbyname().
+If a hostname has multiple address mappings, inetd creates a socket
+to listen on each address.
+.Pp
+The single character
.Dq \&*
-to indicate
+indicates
.Dv INADDR_ANY ,
meaning
.Sq all local addresses .