[snowflake/main] Update nat-retest-interval flag name to reflect the change

commit efdb850d2ed7105959a53614b9e881bbee42fd28 Author: Shelikhoo <xiaokangwang@outlook.com> Date: Tue Nov 16 11:22:44 2021 +0000 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/snowf... --- 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()
participants (1)
-
meskio@torproject.org