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

karsten at torproject.org karsten at torproject.org
Thu Oct 26 08:12:43 UTC 2017


commit e54bca3f9588c3253d9f244d10819f82399b4539
Author: Karsten Loesing <karsten.loesing at gmx.net>
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





More information about the tor-commits mailing list