summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2006-04-17 19:55:25 +0000
committerdwmalone <dwmalone@FreeBSD.org>2006-04-17 19:55:25 +0000
commit25c425eec7ca94d7885331961b945e6871d8c101 (patch)
treeadaffc5f957564174a30de373c4cc95a21d75de8 /usr.sbin/inetd
parent494f348f0407059a2bb3dac047c2c72f8be7c817 (diff)
downloadFreeBSD-src-25c425eec7ca94d7885331961b945e6871d8c101.zip
FreeBSD-src-25c425eec7ca94d7885331961b945e6871d8c101.tar.gz
Update a couple of comments relating to RFCs.
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r--usr.sbin/inetd/builtins.c7
1 files 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,
OpenPOWER on IntegriCloud