summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-21 12:40:08 -0500
committerNick Mathewson <nickm@torproject.org>2016-11-21 12:40:08 -0500
commite2c881487cab57b1b4301560f10b4e3ff4a44167 (patch)
treebedc9cf5ab88724b689a174fa0aeb15642112db3 /src/or/control.c
parent8a767ba7fbeedb3d8838ccfe57583203b783241d (diff)
parentf12aad7f09a608a803b74315213f6f57c97737de (diff)
downloadtor-e2c881487cab57b1b4301560f10b4e3ff4a44167.tar.gz
tor-e2c881487cab57b1b4301560f10b4e3ff4a44167.zip
Merge remote-tracking branch 'arma/bug20423' into maint-0.2.9
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index a4f8e3713b..c8c5062e86 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1704,7 +1704,7 @@ getinfo_helper_misc(control_connection_t *conn, const char *question,
*answer = tor_strdup("VERBOSE_NAMES EXTENDED_EVENTS");
} else if (!strcmp(question, "address")) {
uint32_t addr;
- if (router_pick_published_address(get_options(), &addr) < 0) {
+ if (router_pick_published_address(get_options(), &addr, 0) < 0) {
*errmsg = "Address unknown";
return -1;
}