From efdb850d2ed7105959a53614b9e881bbee42fd28 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Tue, 16 Nov 2021 11:22:44 +0000 Subject: [PATCH] Update nat-retest-interval flag name to reflect the change Adopted the change in according to the recommendation from https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/merge_requests/62#note_2761382 --- proxy/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/main.go b/proxy/main.go index b0f6971..399493b 100644 --- a/proxy/main.go +++ b/proxy/main.go @@ -19,7 +19,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") - NATTypeMeasurementIntervalString := flag.String("nat-retest-seconds", "24h", + NATTypeMeasurementIntervalString := flag.String("nat-retest-interval", "24h", "the time interval in second before NAT type is retested, 0s disables retest. Valid time units are \"s\", \"m\", \"h\". ") flag.Parse()