[tor-commits] [bridgedb/master] Extract bridge_ips from extrainfo descriptors.
isis at torproject.org
isis at torproject.org
Sat Mar 21 02:03:01 UTC 2015
commit 3cd8690d590a197e2b6067f33f020812da8d7513
Author: Isis Lovecruft <isis at torproject.org>
Date: Sat Feb 14 07:20:46 2015 +0000
Extract bridge_ips from extrainfo descriptors.
---
lib/bridgedb/bridges.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/bridgedb/bridges.py b/lib/bridgedb/bridges.py
index d69d96f..10e1ffc 100644
--- a/lib/bridgedb/bridges.py
+++ b/lib/bridgedb/bridges.py
@@ -829,6 +829,7 @@ class Bridge(BridgeBackwardsCompatibility):
self.software = None
self.os = None
self.uptime = None
+ self.bridgeIPs = None
self.onionKey = None
self.ntorOnionKey = None
@@ -1534,6 +1535,7 @@ class Bridge(BridgeBackwardsCompatibility):
return
self.descriptors['extrainfo'] = descriptor
+ self.bridgeIPs = descriptor.bridge_ips
oldTransports = self.transports[:]
More information about the tor-commits
mailing list