[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [vidalia/master] Log the used ports when auto is on



commit 8e0ca7188a91091d5ef6c75ed480f99cab2bf397
Author: Tomas Touceda <chiiph@xxxxxxxxxxxxxx>
Date:   Wed Aug 10 10:01:27 2011 -0300

    Log the used ports when auto is on
---
 src/vidalia/MainWindow.cpp |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/vidalia/MainWindow.cpp b/src/vidalia/MainWindow.cpp
index 5634e63..c878fd1 100644
--- a/src/vidalia/MainWindow.cpp
+++ b/src/vidalia/MainWindow.cpp
@@ -2030,6 +2030,13 @@ MainWindow::updateBrowserEnv() {
 
     env << QString("TOR_SOCKS_HOST=%1").arg(addr.toString());
     env << QString("TOR_SOCKS_PORT=%1").arg(port);
+
+    vInfo(QString("Using automatic ControlPort and SocksPort configuration:\n"
+		  "   ControlPort=%1\n   SocksPort=%2\n   Host=%3\n   Configuration file:%4")
+	  .arg(_autoControlPort)
+	  .arg(port)
+	  .arg(addrPort.at(0))
+	  .arg(QString("%1/port.conf").arg(expand_filename(settings.getDataDirectory()))));
   }
 
   if(settings.getAuthenticationMethod() == TorSettings::PasswordAuth) {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits