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

[or-cvs] r22134: {arm} Fix for scrubbing bug discovered by waltman. (arm/trunk/interface)



Author: atagar
Date: 2010-04-06 15:51:26 +0000 (Tue, 06 Apr 2010)
New Revision: 22134

Modified:
   arm/trunk/interface/connPanel.py
Log:
Fix for scrubbing bug discovered by waltman.



Modified: arm/trunk/interface/connPanel.py
===================================================================
--- arm/trunk/interface/connPanel.py	2010-04-06 07:52:19 UTC (rev 22133)
+++ arm/trunk/interface/connPanel.py	2010-04-06 15:51:26 UTC (rev 22134)
@@ -515,9 +515,7 @@
               src = "%s:%s" % (entry[CONN_L_IP], entry[CONN_L_PORT])
               dst = "%s:%s %s" % (entry[CONN_F_IP], entry[CONN_F_PORT], "" if type == "control" else "(%s)" % entry[CONN_COUNTRY])
               
-              if isPrivate:
-                if type == "inbound": src = "<scrubbed>"
-                elif type == "outbound": dst = "<scrubbed>"
+              if isPrivate: dst = "<scrubbed>"
               
               src, dst = "%-21s" % src, "%-26s" % dst