summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/misc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/misc.c b/src/core/misc.c
index 8be4ec97..d987f856 100644
--- a/src/core/misc.c
+++ b/src/core/misc.c
@@ -64,8 +64,7 @@ int32_t random(void)
static int32_t seed = 0;
int32_t q;
if (!seed) /* Initialize linear congruential generator */
- seed = currticks() + *(int32_t *)&arptable[ARP_CLIENT].node
- + ((int16_t *)arptable[ARP_CLIENT].node)[2];
+ seed = currticks();
/* simplified version of the LCG given in Bruce Schneier's
"Applied Cryptography" */
q = seed/53668;