瀏覽代碼

r15310@catbus: nickm | 2007-09-24 11:36:08 -0400
Patch from Robert Hogan: fix a couple of status-event related typos. Backport candidate.


svn:r11604

Nick Mathewson 16 年之前
父節點
當前提交
ad11e9d0f1
共有 3 個文件被更改,包括 7 次插入2 次删除
  1. 5 0
      ChangeLog
  2. 1 1
      doc/spec/control-spec.txt
  3. 1 1
      src/or/router.c

+ 5 - 0
ChangeLog

@@ -3,6 +3,11 @@ Changes in version 0.2.0.8-alpha - 2007-??-??
     - When an authority is missing votes or signatures, it now tries to fetch
       them.
 
+  o Minor bugfixes (controller):
+    - When sending a status event to the controller telling it that an
+      OR address is readable, set the port correctly.  (Previously we
+      were reporting the dir port.)  Bugfix on 0.1.2.x.
+
 Changes in version 0.2.0.7-alpha - 2007-09-21
   o New directory authorities:
     - Set up moria1 and tor26 as the first v3 directory authorities. See

+ 1 - 1
doc/spec/control-spec.txt

@@ -1188,7 +1188,7 @@ $Id$
        {Controllers should log bugs, but shouldn't annoy the user in case a
        bug appears frequently.}
 
-     CLOCK_SKEWED
+     CLOCK_SKEW
        SKEW="+" / "-" SECONDS
        SOURCE="DIRSERV:IP:Port" / "NETWORKSTATUS:IP:PORT"
          If "SKEW" is present, it's an estimate of how far we are from the

+ 1 - 1
src/or/router.c

@@ -708,7 +708,7 @@ router_orport_found_reachable(void)
       return;
     control_event_server_status(LOG_NOTICE,
                                 "REACHABILITY_SUCCEEDED ORADDRESS=%s:%d",
-                                me->address, me->dir_port);
+                                me->address, me->or_port);
   }
 }