diff options
author | David Goulet <dgoulet@torproject.org> | 2020-01-28 09:17:34 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-02-11 09:35:50 -0500 |
commit | 4152c349b4b9f7b2336a9d97356a28471e8d8f27 (patch) | |
tree | 65cf3112f83f6cf2af0d3957195ed2acb10e69db /src/feature/nodelist/dirlist.h | |
parent | 872f95ca0603ac96d77b886ff67aba63941547a9 (diff) | |
download | tor-4152c349b4b9f7b2336a9d97356a28471e8d8f27.tar.gz tor-4152c349b4b9f7b2336a9d97356a28471e8d8f27.zip |
nodelist: Helper to add an address to the nodelist address set
We separate v4 and v6 because we often use an IPv4 address represented with
a uint32_t instead of a tor_addr_t.
This will be used to also add the trusted directory addresses taken from the
configuration.
The trusted directories from the consensus are already added to the address
set from their descriptor.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/nodelist/dirlist.h')
0 files changed, 0 insertions, 0 deletions