diff options
-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 |