mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Add NAT Type measurement command line flag
It is important to include unit in flag name to prevent user from making mistake.
This commit is contained in:
parent
4c8a166178
commit
ac97ce7136
2 changed files with 7 additions and 1 deletions
|
@ -105,7 +105,9 @@ type SnowflakeProxy struct {
|
|||
RelayURL string
|
||||
// NATProbeURL is the URL of the probe service we use for NAT checks
|
||||
NATProbeURL string
|
||||
shutdown chan struct{}
|
||||
// NATTypeMeasurementIntervalSecond is time in second before NAT type is retested
|
||||
NATTypeMeasurementIntervalSecond uint
|
||||
shutdown chan struct{}
|
||||
}
|
||||
|
||||
// Checks whether an IP address is a remote address for the client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue