aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authormeejah <meejah@meejah.ca>2012-04-05 15:17:30 -0600
committerNick Mathewson <nickm@torproject.org>2012-06-28 15:15:51 -0400
commit12298901fd6a8ce0608129cf9e65dfc32d161a57 (patch)
treeebf613a322bd89c249e61563ab0c02e227f05634 /src/or/control.c
parent58eb3e405d5b7e2a74bd5813e3d3f54ab543bcda (diff)
downloadtor-12298901fd6a8ce0608129cf9e65dfc32d161a57.tar.gz
tor-12298901fd6a8ce0608129cf9e65dfc32d161a57.zip
add new GETINFO config/defaults
returns the default values for every configuration item, similar to GETINFO config/names; include a changes entry for it. Fix for bug 4971
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 6675c01b63..0387f4b2ee 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -2123,6 +2123,9 @@ static const getinfo_item_t getinfo_items[] = {
PREFIX("config/", config, "Current configuration values."),
DOC("config/names",
"List of configuration options, types, and documentation."),
+ DOC("config/defaults",
+ "List of default values for configuration options. "
+ "See also config/names"),
ITEM("info/names", misc,
"List of GETINFO options, types, and documentation."),
ITEM("events/names", misc,