load-tester: Start numbering IDs from 1 again

ref_get() increments the number before returning it.

Fixes: 2cbaa63295 ("load-tester: Fix race condition issuing same identity")
This commit is contained in:
Tobias Brunner
2018-03-07 15:41:56 +01:00
parent f71cccec6f
commit 53827a5fde
@@ -937,7 +937,6 @@ load_tester_config_t *load_tester_config_create()
.leases = hashtable_create((hashtable_hash_t)hash,
(hashtable_equals_t)equals, 256),
.mutex = mutex_create(MUTEX_TYPE_DEFAULT),
.num = 1,
.unique_port = UNIQUE_PORT_START,
);