diff options
| author | David Malone <dwmalone@FreeBSD.org> | 2006-04-17 19:55:25 +0000 |
|---|---|---|
| committer | David Malone <dwmalone@FreeBSD.org> | 2006-04-17 19:55:25 +0000 |
| commit | 6a4d12ad81d62dc8810e63f7d65f4d1ee4633b11 (patch) | |
| tree | adaffc5f957564174a30de373c4cc95a21d75de8 /usr.sbin/inetd | |
| parent | f3c6fec05f07a141ec6fa3d198f268a51b62a173 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/inetd')
| -rw-r--r-- | usr.sbin/inetd/builtins.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/inetd/builtins.c b/usr.sbin/inetd/builtins.c index e6ef6759b6e6..ad7a82e479b7 100644 --- a/usr.sbin/inetd/builtins.c +++ b/usr.sbin/inetd/builtins.c @@ -117,7 +117,10 @@ initring(void) *endring++ = i; } -/* Character generator */ +/* Character generator + * The RFC says that we should send back a random number of + * characters chosen from the range 0 to 512. We send LINESIZ+2. + */ /* ARGSUSED */ void chargen_dg(int s, struct servtab *sep) @@ -677,7 +680,7 @@ printit: } /* - * RFC738 Time Server. + * RFC738/868 Time Server. * Return a machine readable date and time, in the form of the * number of seconds since midnight, Jan 1, 1900. Since gettimeofday * returns the number of seconds since midnight, Jan 1, 1970, |
