-
- Downloads
addr: Remove resolve_my_address_v4()
Replace it by find_my_address() everywhere. This changes many parts of the
code that uses it to use a tor_addr_t instead of a plain uint32_t for IPv4.
Many changes to the unit test to also use the new interface.
Part #33233
Signed-off-by:
David Goulet <dgoulet@torproject.org>
Showing
- src/app/config/resolve_addr.c 2 additions, 66 deletionssrc/app/config/resolve_addr.c
- src/app/config/resolve_addr.h 0 additions, 4 deletionssrc/app/config/resolve_addr.h
- src/feature/dirauth/dirauth_config.c 2 additions, 2 deletionssrc/feature/dirauth/dirauth_config.c
- src/feature/dirauth/dirvote.c 4 additions, 4 deletionssrc/feature/dirauth/dirvote.c
- src/feature/nodelist/dirlist.c 5 additions, 5 deletionssrc/feature/nodelist/dirlist.c
- src/feature/relay/relay_find_addr.c 9 additions, 8 deletionssrc/feature/relay/relay_find_addr.c
- src/feature/relay/router.c 4 additions, 1 deletionsrc/feature/relay/router.c
- src/test/test_config.c 74 additions, 62 deletionssrc/test/test_config.c
Loading
Please register or sign in to comment