diff options
author | teor <teor@riseup.net> | 2020-05-11 17:58:28 +1000 |
---|---|---|
committer | teor <teor@riseup.net> | 2020-05-18 21:53:52 +1000 |
commit | 3f7f976d4812a92bdbf5f14e25db0d276f123cef (patch) | |
tree | 60bd7fec8ce75d5db5ec0ae57af5707018f4c34a /src/test/test_circuitbuild.c | |
parent | 2ea1692c20b4afa929e9f1c6da16ee2fb134abe0 (diff) | |
download | tor-3f7f976d4812a92bdbf5f14e25db0d276f123cef.tar.gz tor-3f7f976d4812a92bdbf5f14e25db0d276f123cef.zip |
nodelist: Stop recursing in router_choose_random_node()
Instead, call out to a helper function, repeating the call if needed.
Avoids duplicating exclusions for:
* the current relay's family, and
* any exclusions specified by the caller.
Part of 34200.
Diffstat (limited to 'src/test/test_circuitbuild.c')
0 files changed, 0 insertions, 0 deletions