summaryrefslogtreecommitdiff
path: root/src/test/test_circuitbuild.c
diff options
context:
space:
mode:
authorteor <teor@riseup.net>2020-05-11 17:58:28 +1000
committerteor <teor@riseup.net>2020-05-18 21:53:52 +1000
commit3f7f976d4812a92bdbf5f14e25db0d276f123cef (patch)
tree60bd7fec8ce75d5db5ec0ae57af5707018f4c34a /src/test/test_circuitbuild.c
parent2ea1692c20b4afa929e9f1c6da16ee2fb134abe0 (diff)
downloadtor-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