diff options
author | Donncha O'Cearbhaill <donncha@donncha.is> | 2015-08-04 14:47:51 +0200 |
---|---|---|
committer | Donncha O'Cearbhaill <donncha@donncha.is> | 2015-09-08 12:34:05 +0200 |
commit | 293410d1384742fe0da2f760707e3a282f4056b2 (patch) | |
tree | 8cc3f08acab21bc06a662126372c121c90dd2540 /src/or/rendcommon.c | |
parent | 0bd68bf98617607f5ca0f98e4d67bf66c6b5b210 (diff) | |
download | tor-293410d1384742fe0da2f760707e3a282f4056b2.tar.gz tor-293410d1384742fe0da2f760707e3a282f4056b2.zip |
Add replica number to HS_DESC CREATED event
Including the replica number in the HS_DESC CREATED event provides
more context to a control port client. The replica allows clients
to more easily identify each replicated descriptor from the
independantly output control events.
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index 1e040847cf..f9d47d13f5 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -661,7 +661,7 @@ rend_encode_v2_descriptors(smartlist_t *descs_out, rend_cache_store_v2_desc_as_service(enc->desc_str); base32_encode(service_id_base32, sizeof(service_id_base32), service_id, REND_SERVICE_ID_LEN); - control_event_hs_descriptor_created(service_id_base32, desc_id_base32); + control_event_hs_descriptor_created(service_id_base32, desc_id_base32, k); } log_info(LD_REND, "Successfully encoded a v2 descriptor and " |