summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-27 16:40:32 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-27 16:40:32 -0500
commit9c4328c0384dc5fd84555daddbd54da2d375c4d0 (patch)
treee831c545f5c1ee27717799d580138377b954971f /src/or/control.c
parent1e61b45251bd2895e0448fcf283e4f7e05355f28 (diff)
downloadtor-9c4328c0384dc5fd84555daddbd54da2d375c4d0.tar.gz
tor-9c4328c0384dc5fd84555daddbd54da2d375c4d0.zip
New GETINFO consensus/packages to expose package information from consensus
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 9ff71c9541..8e2b4625ae 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -2165,6 +2165,8 @@ static const getinfo_item_t getinfo_items[] = {
"Brief summary of router status by nickname (v2 directory format)."),
PREFIX("ns/purpose/", networkstatus,
"Brief summary of router status by purpose (v2 directory format)."),
+ PREFIX("consensus/", networkstatus,
+ "Information abour and from the ns consensus."),
ITEM("network-status", dir,
"Brief summary of router status (v1 directory format)"),
ITEM("circuit-status", events, "List of current circuits originating here."),