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

[tor-commits] [arm/release] Failed requests for our flags cause a syntax error (caught by qbi)



commit 61dac95289690789ea7e226eb7dd0a05873325e5
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Wed Apr 13 14:43:25 2011 +0000

    Failed requests for our flags cause a syntax error (caught by qbi)
    
    
    
    svn:r24613
---
 src/interface/connections/connEntry.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/interface/connections/connEntry.py b/src/interface/connections/connEntry.py
index ba171d4..f613fc2 100644
--- a/src/interface/connections/connEntry.py
+++ b/src/interface/connections/connEntry.py
@@ -353,7 +353,7 @@ class ConnectionLine(entries.ConnectionPanelLine):
       # known relay then it might be client traffic
       
       conn = torTools.getConn()
-      if "Guard" in conn.getMyFlags() or conn.getOption("BridgeRelay") == "1":
+      if "Guard" in conn.getMyFlags([]) or conn.getOption("BridgeRelay") == "1":
         allMatches = conn.getRelayFingerprint(self.foreign.getIpAddr(), getAllMatches = True)
         return allMatches == []
     elif myType == Category.EXIT:



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