-
- Downloads
relay: Use flags in relay_find_addr_to_publish()
Instead of a boolean saying "cache_only" add the concept of flags so we add
semantic through out the code and allow ourselves to have more options in the
future.
Signed-off-by:
David Goulet <dgoulet@torproject.org>
Showing
- src/feature/client/transports.c 4 additions, 3 deletionssrc/feature/client/transports.c
- src/feature/control/control_getinfo.c 2 additions, 1 deletionsrc/feature/control/control_getinfo.c
- src/feature/relay/relay_find_addr.c 8 additions, 6 deletionssrc/feature/relay/relay_find_addr.c
- src/feature/relay/relay_find_addr.h 6 additions, 1 deletionsrc/feature/relay/relay_find_addr.h
- src/feature/relay/router.c 4 additions, 2 deletionssrc/feature/relay/router.c
- src/test/test_config.c 2 additions, 2 deletionssrc/test/test_config.c
- src/test/test_relay.c 12 additions, 6 deletionssrc/test/test_relay.c
Loading
Please register or sign in to comment