svn commit: r327297 - head/sys/netinet6
Pedro F. Giffuni
pfg at FreeBSD.org
Thu Dec 28 20:40:57 UTC 2017
Author: pfg
Date: Thu Dec 28 20:40:56 2017
New Revision: 327297
URL: https://svnweb.freebsd.org/changeset/base/327297
Log:
Fix some typos.
Obtained from: OpenBSD (CVS v1.5)
Modified:
head/sys/netinet6/ip6_id.c
Modified: head/sys/netinet6/ip6_id.c
==============================================================================
--- head/sys/netinet6/ip6_id.c Thu Dec 28 20:35:21 2017 (r327296)
+++ head/sys/netinet6/ip6_id.c Thu Dec 28 20:40:56 2017 (r327297)
@@ -81,7 +81,7 @@ __FBSDID("$FreeBSD$");
* The transaction id is determined by:
* id[n] = seed xor (g^X[n] mod n)
*
- * Effectivly the id is restricted to the lower (bits - 1) bits, thus
+ * Effectively the id is restricted to the lower (bits - 1) bits, thus
* yielding two different cycles by toggling the msb on and off.
* This avoids reuse issues caused by reseeding.
*/
@@ -172,7 +172,7 @@ pmod(u_int32_t gen, u_int32_t expo, u_int32_t mod)
}
/*
- * Initalizes the seed and chooses a suitable generator. Also toggles
+ * Initializes the seed and chooses a suitable generator. Also toggles
* the msb flag. The msb flag is used to generate two distinct
* cycles of random numbers and thus avoiding reuse of ids.
*
More information about the svn-src-all
mailing list