[tor-commits] [arm/release] Failed requests for our flags cause a syntax error (caught by qbi)
atagar at torproject.org
atagar at torproject.org
Sun Jul 17 06:08:16 UTC 2011
commit 61dac95289690789ea7e226eb7dd0a05873325e5
Author: Damian Johnson <atagar at torproject.org>
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:
More information about the tor-commits
mailing list