[or-cvs] r15826: add ORPort and DirPort to textmode output (blossom/trunk)

goodell at seul.org goodell at seul.org
Fri Jul 11 04:27:57 UTC 2008


Author: goodell
Date: 2008-07-11 00:27:56 -0400 (Fri, 11 Jul 2008)
New Revision: 15826

Modified:
   blossom/trunk/exit.py
Log:
add ORPort and DirPort to textmode output


Modified: blossom/trunk/exit.py
===================================================================
--- blossom/trunk/exit.py	2008-07-10 21:02:01 UTC (rev 15825)
+++ blossom/trunk/exit.py	2008-07-11 04:27:56 UTC (rev 15826)
@@ -407,13 +407,15 @@
     s_platform,
     extended_content
 )
-    rtr[r]["textentry"] = "%s %-20s %10d - %-15s %-60s %s\n" % (
+    rtr[r]["textentry"] = "%s %-20s %10d - %-15s %-60s %s %5s %5s\n" % (
         addr[a]["cc"],
         rtr[r]["nickname"],
         rtr[r]["bandwidth"],
         rtr[r]["address"],
         addr[a]["netname"],
-        rtr[r]["fingerprint"]
+        rtr[r]["fingerprint"],
+        rtr[r]["orport"],
+        rtr[r]["dirport"]
     )
 
 # apply restrictive filter



More information about the tor-commits mailing list