diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-01-09 15:46:14 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-01-09 15:46:14 -0500 |
commit | 2f0e187191216d6dc4a3527e7e3b2bf268d869c0 (patch) | |
tree | eb4c1a1132b3fd97a9120c8c933077114771d04e /src/feature/control | |
parent | 578a93bbbc9ecb6fa67aead760bfeb40e7977d39 (diff) | |
parent | dbf1725a135405cfa3e4aea9d66e0d62fed1f360 (diff) | |
download | tor-2f0e187191216d6dc4a3527e7e3b2bf268d869c0.tar.gz tor-2f0e187191216d6dc4a3527e7e3b2bf268d869c0.zip |
Merge remote-tracking branch 'tor-github/pr/627'
Diffstat (limited to 'src/feature/control')
-rw-r--r-- | src/feature/control/control.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/feature/control/control.c b/src/feature/control/control.c index 6f10e0956f..170037e060 100644 --- a/src/feature/control/control.c +++ b/src/feature/control/control.c @@ -3089,11 +3089,6 @@ getinfo_helper_events(control_connection_t *control_conn, case VS_UNKNOWN: *answer = tor_strdup("unknown"); break; default: tor_fragile_assert(); } - } else if (!strcmp(question, "status/version/num-versioning") || - !strcmp(question, "status/version/num-concurring")) { - tor_asprintf(answer, "%d", get_n_authorities(V3_DIRINFO)); - log_warn(LD_GENERAL, "%s is deprecated; it no longer gives useful " - "information", question); } } else if (!strcmp(question, "status/clients-seen")) { char *bridge_stats = geoip_get_bridge_stats_controller(time(NULL)); @@ -3386,10 +3381,6 @@ static const getinfo_item_t getinfo_items[] = { "A fresh relay/ei descriptor pair for Tor's current state. Not stored."), DOC("status/version/recommended", "List of currently recommended versions."), DOC("status/version/current", "Status of the current version."), - DOC("status/version/num-versioning", "Number of versioning authorities."), - DOC("status/version/num-concurring", - "Number of versioning authorities agreeing on the status of the " - "current version"), ITEM("address", misc, "IP address of this Tor host, if we can guess it."), ITEM("traffic/read", misc,"Bytes read since the process was started."), ITEM("traffic/written", misc, |