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

[tor-commits] [bridgedb/master] Extract bridge_ips from extrainfo descriptors.



commit 3cd8690d590a197e2b6067f33f020812da8d7513
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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[:]
 



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