From d0ed7cbf8b83f675dcd858abbdfda98eb3bafc88 Mon Sep 17 00:00:00 2001 From: Robert Ransom Date: Fri, 24 Jun 2011 05:18:21 -0700 Subject: List service address in CIRC events for HS-related circs --- src/or/control.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') diff --git a/src/or/control.c b/src/or/control.c index 6b7f9dc7a..42eaed276 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -1842,6 +1842,15 @@ circuit_describe_status_for_controller(origin_circuit_t *circ) } } + if (circ->rend_data != NULL) { + char *rend_query_arg = NULL; + + tor_asprintf(&rend_query_arg, "REND_QUERY=%s", + circ->rend_data->onion_address); + + smartlist_add(descparts, rend_query_arg); + } + rv = smartlist_join_strings(descparts, " ", 0, NULL); SMARTLIST_FOREACH(descparts, char *, cp, tor_free(cp)); -- cgit v1.2.3