mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Represent NATTypeMeasurementInterval in time.Duration
Adopted the change in according to the recommendation from https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/merge_requests/62#note_2761566
This commit is contained in:
parent
c49f72eb0c
commit
0c62d806a4
2 changed files with 6 additions and 6 deletions
|
@ -31,7 +31,7 @@ func main() {
|
|||
KeepLocalAddresses: *keepLocalAddresses,
|
||||
RelayURL: *relayURL,
|
||||
|
||||
NATTypeMeasurementIntervalSecond: uint(NATTypeMeasurementInterval.Seconds()),
|
||||
NATTypeMeasurementInterval: *NATTypeMeasurementInterval,
|
||||
}
|
||||
|
||||
var logOutput io.Writer = os.Stderr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue