summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-12-28 09:07:31 +0000
committerRoger Dingledine <arma@torproject.org>2005-12-28 09:07:31 +0000
commitdbd7b97eff3e3f23219dac29d5e27ed81dd3e69f (patch)
treef29ebc52d013ff92805394fe1ace7dd958a7af60 /src/or/control.c
parent5d9256a367a9dccb1efa914b95a00622635ff640 (diff)
downloadtor-dbd7b97eff3e3f23219dac29d5e27ed81dd3e69f.tar.gz
tor-dbd7b97eff3e3f23219dac29d5e27ed81dd3e69f.zip
helper nodes are dead. long live entry nodes.
(config options EntryNodes and StrictEntryNodes still not implemented.) svn:r5673
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 1736a8edc2..b5efb84f64 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1247,7 +1247,7 @@ list_getinfo_options(void)
"config/names List of configuration options, types, and documentation.\n"
"desc/id/* Server descriptor by hex ID\n"
"desc/name/* Server descriptor by nickname.\n"
- "helper-nodes Which nodes will we use as helpers?\n"
+ "entry-nodes Which nodes will we use as entry nodes?\n"
"info/names List of GETINFO options, types, and documentation.\n"
"network-status List of hex IDs, nicknames, server statuses.\n"
"orconn-status Status of each current OR connection.\n"
@@ -1268,8 +1268,10 @@ handle_getinfo_helper(const char *question, char **answer)
*answer = tor_strdup(get_torrc_fname());
} else if (!strcmpstart(question, "accounting/")) {
return accounting_getinfo_helper(question, answer);
- } else if (!strcmpstart(question, "helper-nodes")) {
- return helper_nodes_getinfo_helper(question, answer);
+ } else if (!strcmpstart(question, "helper-nodes")) { /* deprecated */
+ return entry_nodes_getinfo(question, answer);
+ } else if (!strcmpstart(question, "entry-nodes")) {
+ return entry_nodes_getinfo(question, answer);
} else if (!strcmpstart(question, "config/")) {
return config_getinfo_helper(question, answer);
} else if (!strcmp(question, "info/names")) {