Browse Source

clarify which relay gave us the good netinfo cell

svn:r17973
Roger Dingledine 15 years ago
parent
commit
4f27e73aaa
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/or/command.c

+ 3 - 2
src/or/command.c

@@ -624,9 +624,10 @@ command_process_netinfo_cell(cell_t *cell, or_connection_t *conn)
   if (connection_or_set_state_open(conn)<0)
     connection_mark_for_close(TO_CONN(conn));
   else
-    log_info(LD_OR, "Got good NETINFO cell from %s; OR connection is now "
+    log_info(LD_OR, "Got good NETINFO cell from %s:%d; OR connection is now "
              "open, using protocol version %d",
-             safe_str(conn->_base.address), (int)conn->link_proto);
+             safe_str(conn->_base.address), conn->_base.port,
+             (int)conn->link_proto);
   assert_connection_ok(TO_CONN(conn),time(NULL));
 }