mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 12:25:06 -05:00
@@ -252,7 +252,7 @@ test_unit(void)
|
|||||||
DEBUG_LOG("iteration %d, %d", i, j);
|
DEBUG_LOG("iteration %d, %d", i, j);
|
||||||
|
|
||||||
interleaved = random() % 2 && (inst->mode != MODE_CLIENT ||
|
interleaved = random() % 2 && (inst->mode != MODE_CLIENT ||
|
||||||
inst->tx_count <= MAX_CLIENT_INTERLEAVED_TX);
|
inst->tx_count < MAX_CLIENT_INTERLEAVED_TX);
|
||||||
authenticated = random() % 2;
|
authenticated = random() % 2;
|
||||||
valid = (!interleaved || (source.params.interleaved && has_updated)) &&
|
valid = (!interleaved || (source.params.interleaved && has_updated)) &&
|
||||||
(!source.params.authkey || authenticated);
|
(!source.params.authkey || authenticated);
|
||||||
|
|||||||
Reference in New Issue
Block a user