diff options
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/control.c b/src/or/control.c index 4c2bdb2dd..6e3cd42c6 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -1248,7 +1248,7 @@ list_getinfo_options(void) "desc/id/* Server descriptor by hex ID\n" "desc/name/* Server descriptor by nickname.\n" "desc/all-recent Latest server descriptor for every router\n" - "entry-nodes Which nodes will we use as entry nodes?\n" + "entry-guards Which nodes will we use as entry guards?\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" @@ -1270,9 +1270,9 @@ handle_getinfo_helper(const char *question, char **answer) } else if (!strcmpstart(question, "accounting/")) { return accounting_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); + return entry_guards_getinfo(question, answer); + } else if (!strcmpstart(question, "entry-guards")) { + return entry_guards_getinfo(question, answer); } else if (!strcmpstart(question, "config/")) { return config_getinfo_helper(question, answer); } else if (!strcmp(question, "info/names")) { |