Make enumerated list for flags. Spelling.
This commit is contained in:
parent
cf6b5cdb0f
commit
6d3f37938b
@ -151,22 +151,20 @@ will work as TCP relaying daemon for specified
|
||||
.Ar service
|
||||
as described above.
|
||||
.Pp
|
||||
If
|
||||
.Fl d
|
||||
is given, debugging information will be generated using
|
||||
The following options are available:
|
||||
.Bl -tag -width indent
|
||||
.It Fl d
|
||||
Debugging information will be generated using
|
||||
.Xr syslog 3 .
|
||||
If
|
||||
.Fl p
|
||||
is given,
|
||||
.Nm
|
||||
will use privileged TCP port number as source port,
|
||||
.It Fl p
|
||||
Use privileged TCP port number as source port,
|
||||
for IPv4 TCP connection toward final destination.
|
||||
For relaying
|
||||
.Xr ftp 1
|
||||
and
|
||||
.Xr rlogin 1 ,
|
||||
.Fl p
|
||||
is not necessary as special program code is supplied.
|
||||
this flag is not necessary as special program code is supplied.
|
||||
.El
|
||||
.Pp
|
||||
.Nm
|
||||
will relay both normal and out-of-band TCP data.
|
||||
|
@ -191,7 +191,7 @@ inetd_main(int argc, char **argv)
|
||||
openlog(logname, LOG_PID | LOG_NOWAIT, LOG_DAEMON);
|
||||
|
||||
if (argc >= MAXARGV)
|
||||
exit_failure("too many augments");
|
||||
exit_failure("too many arguments");
|
||||
serverarg[0] = serverpath = path;
|
||||
for (i = 1; i < argc; i++)
|
||||
serverarg[i] = argv[i];
|
||||
@ -359,7 +359,7 @@ daemon_main(int argc, char **argv)
|
||||
syslog(LOG_INFO, "Staring faith daemon for %s port", service);
|
||||
|
||||
play_service(s_wld);
|
||||
/*NOTRECHED*/
|
||||
/*NOTREACHED*/
|
||||
exit(1); /*pacify gcc*/
|
||||
}
|
||||
|
||||
|
@ -71,7 +71,7 @@ rsh_relay(int s_src, int s_dst)
|
||||
if (error == -1)
|
||||
exit_failure("select %d: %s", s_src, ERRSTR);
|
||||
else if (error == 0)
|
||||
exit_failure("connecion timeout");
|
||||
exit_failure("connection timeout");
|
||||
|
||||
n = read(s_src, rshbuf, sizeof(rshbuf));
|
||||
if (rshbuf[0] != 0) {
|
||||
@ -182,7 +182,7 @@ rsh_dual_relay(int s_src, int s_dst)
|
||||
if (error == -1)
|
||||
exit_failure("select 4 sockets: %s", ERRSTR);
|
||||
else if (error == 0)
|
||||
exit_failure("connecion timeout");
|
||||
exit_failure("connection timeout");
|
||||
|
||||
if (half == NO && FD_ISSET(s_src, &readfds)) {
|
||||
s_rcv = s_src;
|
||||
|
Loading…
Reference in New Issue
Block a user