-/* $OpenBSD: res_random.c,v 1.26 2022/12/27 17:10:06 jmc Exp $ */
+/* $OpenBSD: res_random.c,v 1.27 2024/09/03 18:21:55 op Exp $ */
/*
* Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
* The transaction id is determined by:
* id[n] = seed xor (g^X[n] mod n)
*
- * Effectivly the id is restricted to the lower 15 bits, thus
+ * Effectively the id is restricted to the lower 15 bits, thus
* yielding two different cycles by toggling the msb on and off.
* This avoids reuse issues caused by reseeding.
*