diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-01-22 23:11:02 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-01-22 23:11:02 +0000 |
commit | b858cbd0d3116b30ce9c2b04bc06b26d74c17a2d (patch) | |
tree | 8f958d3e4e211f110c2279ba631599be1d7fc551 /usr.sbin/inetd | |
parent | 9f847f13c70ea41e45a94abebc20a8fa14d8edb8 (diff) | |
download | FreeBSD-src-b858cbd0d3116b30ce9c2b04bc06b26d74c17a2d.zip FreeBSD-src-b858cbd0d3116b30ce9c2b04bc06b26d74c17a2d.tar.gz |
Don't mention /etc/protocols in inetd documentation or comments, as inetd
doesn't actually use it.
PR: 24307
Submitted by: opentrax@email.com
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r-- | usr.sbin/inetd/inetd.8 | 5 | ||||
-rw-r--r-- | usr.sbin/inetd/inetd.c | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/inetd/inetd.8 b/usr.sbin/inetd/inetd.8 index 7a4c03b..7b7d5d9 100644 --- a/usr.sbin/inetd/inetd.8 +++ b/usr.sbin/inetd/inetd.8 @@ -250,9 +250,8 @@ TCPMUX services must use .Pp The .Em protocol -must be a valid protocol as given in -.Pa /etc/protocols . -Examples might be +must be a valid protocol. +Examples are .Dq tcp or .Dq udp , diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index fa95662..d43da3d 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -71,7 +71,7 @@ static const char rcsid[] = * service name must be in /etc/services or must * name a tcpmux service * socket type stream/dgram/raw/rdm/seqpacket - * protocol must be in /etc/protocols + * protocol tcp[4][6][/faith,ttcp], udp[4][6] * wait/nowait single-threaded/multi-threaded * user user to run daemon as * server program full path name @@ -95,7 +95,7 @@ static const char rcsid[] = * For RPC services * service name/version must be in /etc/rpc * socket type stream/dgram/raw/rdm/seqpacket - * protocol must be in /etc/protocols + * protocol rpc/tcp, rpc/udp * wait/nowait single-threaded/multi-threaded * user user to run daemon as * server program full path name |