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

[tor-commits] [collector/release] Retain "bridge-distribution-request" lines.



commit e54bca3f9588c3253d9f244d10819f82399b4539
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Wed Oct 25 20:49:18 2017 +0200

    Retain "bridge-distribution-request" lines.
---
 .../org/torproject/collector/bridgedescs/SanitizedBridgesWriter.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/torproject/collector/bridgedescs/SanitizedBridgesWriter.java b/src/main/java/org/torproject/collector/bridgedescs/SanitizedBridgesWriter.java
index 441eb01..12b42ac 100644
--- a/src/main/java/org/torproject/collector/bridgedescs/SanitizedBridgesWriter.java
+++ b/src/main/java/org/torproject/collector/bridgedescs/SanitizedBridgesWriter.java
@@ -946,7 +946,8 @@ public class SanitizedBridgesWriter extends CollecTorMain {
             || line.equals("opt allow-single-hop-exits")
             || line.equals("allow-single-hop-exits")
             || line.startsWith("ipv6-policy ")
-            || line.equals("tunnelled-dir-server")) {
+            || line.equals("tunnelled-dir-server")
+            || line.startsWith("bridge-distribution-request ")) {
           scrubbed.append(line + "\n");
 
         /* Replace node fingerprints in the family line with their hashes



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