summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd/inetd.c
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2001-01-22 23:11:02 +0000
committerdwmalone <dwmalone@FreeBSD.org>2001-01-22 23:11:02 +0000
commitb858cbd0d3116b30ce9c2b04bc06b26d74c17a2d (patch)
tree8f958d3e4e211f110c2279ba631599be1d7fc551 /usr.sbin/inetd/inetd.c
parent9f847f13c70ea41e45a94abebc20a8fa14d8edb8 (diff)
downloadFreeBSD-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/inetd.c')
-rw-r--r--usr.sbin/inetd/inetd.c4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud