From 3760a9ac7847d8b0b9721c457367beb612af3932 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Thu, 28 Dec 2017 20:40:56 +0000 Subject: [PATCH] Fix some typos. Obtained from: OpenBSD (CVS v1.5) --- sys/netinet6/ip6_id.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet6/ip6_id.c b/sys/netinet6/ip6_id.c index 918babe7d84b..f41df2a2e5a9 100644 --- a/sys/netinet6/ip6_id.c +++ b/sys/netinet6/ip6_id.c @@ -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. *