commit e92794a24acd57e98ddb167954675936f98d1ea0 Author: Karsten Loesing karsten.loesing@gmx.net Date: Thu Jan 30 20:17:39 2014 +0100
Don't remove ipv6-policy lines from bridge descriptors.
These lines only contain exit policy summaries, not IP addresses. --- src/org/torproject/ernie/db/bridgedescs/SanitizedBridgesWriter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/org/torproject/ernie/db/bridgedescs/SanitizedBridgesWriter.java b/src/org/torproject/ernie/db/bridgedescs/SanitizedBridgesWriter.java index dcdfb87..275e155 100644 --- a/src/org/torproject/ernie/db/bridgedescs/SanitizedBridgesWriter.java +++ b/src/org/torproject/ernie/db/bridgedescs/SanitizedBridgesWriter.java @@ -745,7 +745,8 @@ public class SanitizedBridgesWriter extends Thread { || line.equals("opt caches-extra-info") || line.equals("caches-extra-info") || line.equals("opt allow-single-hop-exits") - || line.equals("allow-single-hop-exits")) { + || line.equals("allow-single-hop-exits") + || line.startsWith("ipv6-policy ")) { scrubbed.append(line + "\n");
/* Replace node fingerprints in the family line with their hashes
tor-commits@lists.torproject.org