control: GETINFO address/ use new find address API
commit75a2e7fcb7092790c81db91861f526208612fa2a
authorDavid Goulet <dgoulet@torproject.org>
Tue, 14 Jul 2020 17:02:21 +0000 (14 13:02 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Mon, 20 Jul 2020 18:54:13 +0000 (20 14:54 -0400)
treedfbbde62e0fbd9ce627221f8a7d8990721d2eb16
parent1a347b4790719d6ae1576c0b023dac343b65e5a1
control: GETINFO address/ use new find address API

At the moment, this command only returns the IPv4. Do so by using the new
relay_find_addr_to_publish().

New commands to return IPv4 and IPv6 will be done with the work in tor#40039.

Related to #40025

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/feature/control/control_getinfo.c