aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-05-18 04:13:21 -0700
committerRobert Ransom <rransom.8774@gmail.com>2011-05-20 08:25:42 -0700
commit90f810801e92e8ee5d0b1341172f83e844af56c8 (patch)
tree322c3fd26b4d3e3b1fd481c89978dbe68786cf31
parentb3133d1cadec0540105a855b1fd2eb741d4eec9d (diff)
downloadtor-90f810801e92e8ee5d0b1341172f83e844af56c8.tar.gz
tor-90f810801e92e8ee5d0b1341172f83e844af56c8.zip
Fix trailing asterisk in the output of "GETINFO info/names"
-rw-r--r--changes/exit-policy-default-is-not-a-prefix5
-rw-r--r--src/or/control.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/changes/exit-policy-default-is-not-a-prefix b/changes/exit-policy-default-is-not-a-prefix
new file mode 100644
index 0000000000..6eb1e8df99
--- /dev/null
+++ b/changes/exit-policy-default-is-not-a-prefix
@@ -0,0 +1,5 @@
+ o Minor bugfixes:
+ - Remove a trailing asterisk from "exit-policy/default" in the
+ output of the control port command "GETINFO info/names". Bugfix
+ on 0.1.2.5-alpha.
+
diff --git a/src/or/control.c b/src/or/control.c
index 67e8b00d19..f7ff92ab34 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1907,8 +1907,8 @@ static const getinfo_item_t getinfo_items[] = {
"v2 networkstatus docs as retrieved from a DirPort."),
ITEM("dir/status-vote/current/consensus", dir,
"v3 Networkstatus consensus as retrieved from a DirPort."),
- PREFIX("exit-policy/default", policies,
- "The default value appended to the configured exit policy."),
+ ITEM("exit-policy/default", policies,
+ "The default value appended to the configured exit policy."),
PREFIX("ip-to-country/", geoip, "Perform a GEOIP lookup"),
{ NULL, NULL, NULL, 0 }
};