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

[tor-commits] [snowflake/main] Rename flag to nat-retest-seconds and retest daily by default



commit 1b79962ca81e6d1db0c790b2d2d5e54a806148f4
Author: Shelikhoo <xiaokangwang@xxxxxxxxxxx>
Date:   Fri Nov 12 10:43:05 2021 +0000

    Rename flag to nat-retest-seconds and retest daily by default
    
    Adopted the change in according to the recommendation from
    
    https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/merge_requests/62#note_2759816
    
    https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/merge_requests/62#note_2760512
---
 proxy/main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/main.go b/proxy/main.go
index a8e56bb..baac52b 100644
--- a/proxy/main.go
+++ b/proxy/main.go
@@ -18,7 +18,7 @@ func main() {
 	unsafeLogging := flag.Bool("unsafe-logging", false, "prevent logs from being scrubbed")
 	keepLocalAddresses := flag.Bool("keep-local-addresses", false, "keep local LAN address ICE candidates")
 	relayURL := flag.String("relay", sf.DefaultRelayURL, "websocket relay URL")
-	NATTypeMeasurementIntervalSecond := flag.Uint("nat-type-measurement-interval-second", 0,
+	NATTypeMeasurementIntervalSecond := flag.Uint("nat-retest-seconds", 86400,
 		"the time interval in second before NAT type is retested, 0 disables retest")
 
 	flag.Parse()



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