diff options
author | teor <teor@torproject.org> | 2018-07-31 14:30:17 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-01-31 07:53:22 +0100 |
commit | 6170d3fcf12f4345ec13561d0f444930f2f12e84 (patch) | |
tree | ce72649a5d7762b437309355104b020ff9f3f705 /src/test/test_hs_service.c | |
parent | cdda3dc48457af31a9d1b3df1222d449b736f3b1 (diff) | |
download | tor-6170d3fcf12f4345ec13561d0f444930f2f12e84.tar.gz tor-6170d3fcf12f4345ec13561d0f444930f2f12e84.zip |
hs: Onion services put IPv6 addresses in service descriptors
Rewrite service_intro_point_new() to take a node_t. Since
node_get_link_specifier_smartlist() supports IPv6 link specifiers,
this refactor adds IPv6 addresses to onion service descriptors.
Part of 23576, implements 26992.
Diffstat (limited to 'src/test/test_hs_service.c')
-rw-r--r-- | src/test/test_hs_service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index 43bf894383..e8bdcd86e2 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -329,7 +329,7 @@ static hs_service_intro_point_t * helper_create_service_ip(void) { hs_desc_link_specifier_t *ls; - hs_service_intro_point_t *ip = service_intro_point_new(NULL, 0, 0); + hs_service_intro_point_t *ip = service_intro_point_new(NULL); tor_assert(ip); /* Add a first unused link specifier. */ ls = tor_malloc_zero(sizeof(*ls)); |