From 25c425eec7ca94d7885331961b945e6871d8c101 Mon Sep 17 00:00:00 2001 From: dwmalone Date: Mon, 17 Apr 2006 19:55:25 +0000 Subject: Update a couple of comments relating to RFCs. --- usr.sbin/inetd/builtins.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/usr.sbin/inetd/builtins.c b/usr.sbin/inetd/builtins.c index e6ef675..ad7a82e 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, -- cgit v1.1