diff options
| author | Michael Brown | 2006-06-16 16:48:31 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-06-16 16:48:31 +0200 |
| commit | 8aeead7c1cd6f0166bb3f0ac9abaf8e490e33923 (patch) | |
| tree | 73ba694f80f00290f9e102e730b8c3b65d550724 /src | |
| parent | Temporary hack to work around the "TX overflow" problem in the interim (diff) | |
| download | ipxe-8aeead7c1cd6f0166bb3f0ac9abaf8e490e33923.tar.gz ipxe-8aeead7c1cd6f0166bb3f0ac9abaf8e490e33923.tar.xz ipxe-8aeead7c1cd6f0166bb3f0ac9abaf8e490e33923.zip | |
Remove dependency on arptable[] (which is no longer used).
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/misc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/misc.c b/src/core/misc.c index 8be4ec978..d987f8569 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; |
