Slightly randomize all timeouts.

This commit is contained in:
Guus Sliepen 2012-10-21 17:45:16 +02:00
parent 717ea66d7b
commit edc08b73a9
6 changed files with 11 additions and 11 deletions

View file

@ -151,7 +151,7 @@ static void send_mtu_probe_handler(int fd, short events, void *data) {
}
end:
event_add(&n->mtuevent, &(struct timeval){timeout, 0});
event_add(&n->mtuevent, &(struct timeval){timeout, rand() % 100000});
}
void send_mtu_probe(node_t *n) {