[tor-commits] [arm/release] fix: dropping pointless desc publishing entry

atagar at torproject.org atagar at torproject.org
Sun Jul 17 06:08:30 UTC 2011


commit ec03338fd926debd68d1c81a7f38e0723f129a9f
Author: Damian Johnson <atagar at torproject.org>
Date:   Tue Jul 5 14:23:36 2011 -0700

    fix: dropping pointless desc publishing entry
    
    The 'PublishServerDescriptor bridge' entry for bridges is pointless as per:
    https://trac.torproject.org/projects/tor/ticket/3529
---
 src/resources/torrcTemplate.txt |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/resources/torrcTemplate.txt b/src/resources/torrcTemplate.txt
index bb4dccd..3c9387f 100644
--- a/src/resources/torrcTemplate.txt
+++ b/src/resources/torrcTemplate.txt
@@ -36,10 +36,7 @@ CookieAuthentication 1       # method for controller authentication
   [IF BRIDGE]
     BridgeRelay 1            # makes us a bridge rather than a public relay
     
-    [IF DISTRIBUTE]
-      # TODO: drop this?
-      PublishServerDescriptor bridge # publishes to users looking for bridges
-    [ELSE]
+    [IF NOT DISTRIBUTE]
       PublishServerDescriptor 0 # keeps our bridge descriptor private
     [END IF]
   [END IF]





More information about the tor-commits mailing list