diff options
-rw-r--r-- | src/lib/libc/net/res_random.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/res_random.c b/src/lib/libc/net/res_random.c index 3f642a138c..447a2409bd 100644 --- a/src/lib/libc/net/res_random.c +++ b/src/lib/libc/net/res_random.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: res_random.c,v 1.26 2022/12/27 17:10:06 jmc Exp $ */ | 1 | /* $OpenBSD: res_random.c,v 1.27 2024/09/03 18:21:55 op Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> | 4 | * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> |
@@ -51,7 +51,7 @@ | |||
51 | * The transaction id is determined by: | 51 | * The transaction id is determined by: |
52 | * id[n] = seed xor (g^X[n] mod n) | 52 | * id[n] = seed xor (g^X[n] mod n) |
53 | * | 53 | * |
54 | * Effectivly the id is restricted to the lower 15 bits, thus | 54 | * Effectively the id is restricted to the lower 15 bits, thus |
55 | * yielding two different cycles by toggling the msb on and off. | 55 | * yielding two different cycles by toggling the msb on and off. |
56 | * This avoids reuse issues caused by reseeding. | 56 | * This avoids reuse issues caused by reseeding. |
57 | * | 57 | * |