summaryrefslogtreecommitdiff
path: root/src/feature/control
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/control')
-rw-r--r--src/feature/control/control_getinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/control/control_getinfo.c b/src/feature/control/control_getinfo.c
index c489dfa865..4ac4f48a86 100644
--- a/src/feature/control/control_getinfo.c
+++ b/src/feature/control/control_getinfo.c
@@ -133,7 +133,7 @@ getinfo_helper_misc(control_connection_t *conn, const char *question,
*answer = tor_strdup("VERBOSE_NAMES EXTENDED_EVENTS");
} else if (!strcmp(question, "address")) {
tor_addr_t addr;
- if (!relay_find_addr_to_publish(get_options(), AF_INET, false, &addr)) {
+ if (!relay_find_addr_to_publish(get_options(), AF_INET, true, &addr)) {
*errmsg = "Address unknown";
return -1;
}