this may have caused some clock skew problems on the deployed 0.3.1.1, so we'll get this deployed asap
This commit is contained in:
jrandom
2004-05-11 01:45:18 +00:00
committed by zzz
parent 08aca6ca61
commit d4bb32da82

View File

@ -384,7 +384,7 @@ public class NtpMessage {
// low order bits of the timestamp with a random, unbiased
// bitstring, both to avoid systematic roundoff errors and as
// a means of loop detection and replay detection.
array[7] = (byte) (Math.random()*255.0);
array[7+pointer] = (byte) (Math.random()*255.0);
}