Browse Source

Fix trailing asterisk in the output of "GETINFO info/names"

Robert Ransom 13 years ago
parent
commit
90f810801e
2 changed files with 7 additions and 2 deletions
  1. 5 0
      changes/exit-policy-default-is-not-a-prefix
  2. 2 2
      src/or/control.c

+ 5 - 0
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.
+

+ 2 - 2
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 }
 };