aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/describe.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-07-14 10:43:49 -0400
committerDavid Goulet <dgoulet@torproject.org>2020-07-14 10:49:43 -0400
commit06ccf12258b4ed480cf387f0291e26d41ff4450a (patch)
tree26abd1dbc482e5f73bdc909bcd24469207dfe59b /src/feature/nodelist/describe.h
parente594195aa2faa153e997f12dbcaebae4281ff925 (diff)
downloadtor-06ccf12258b4ed480cf387f0291e26d41ff4450a.tar.gz
tor-06ccf12258b4ed480cf387f0291e26d41ff4450a.zip
node: Standardize interface of format_node_description()
Pass the IPv4 before the IPv6 like all our other interfaces. Changes unreleased code related to #40043. Closes #40045 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/nodelist/describe.h')
-rw-r--r--src/feature/nodelist/describe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/nodelist/describe.h b/src/feature/nodelist/describe.h
index 1a2b757943..62f6c693e2 100644
--- a/src/feature/nodelist/describe.h
+++ b/src/feature/nodelist/describe.h
@@ -49,8 +49,8 @@ void router_get_verbose_nickname(char *buf, const routerinfo_t *router);
STATIC const char *format_node_description(char *buf,
const char *id_digest,
const char *nickname,
- const tor_addr_t *ipv6_addr,
- const tor_addr_t *ipv4_addr);
+ const tor_addr_t *ipv4_addr,
+ const tor_addr_t *ipv6_addr);
#endif /* defined(TOR_UNIT_TESTS) */