diff options
author | Bluesaxorcist <joshua@operatorfoundation.org> | 2019-10-13 21:21:42 -0500 |
---|---|---|
committer | Bluesaxorcist <joshua@operatorfoundation.org> | 2019-10-13 21:21:42 -0500 |
commit | 3eee4e2869a783c6f3a5baef279406d82c063f23 (patch) | |
tree | 3c79963aa8afb96abeaba5606d81affa071687c8 /modes/stun_udp/stun_udp.go | |
parent | f1832e8c060eb6f5593fdbc46dd13085d3eef588 (diff) |
renamed all of the iatMode strings to iat-mode
Diffstat (limited to 'modes/stun_udp/stun_udp.go')
-rw-r--r-- | modes/stun_udp/stun_udp.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modes/stun_udp/stun_udp.go b/modes/stun_udp/stun_udp.go index 70d5565..cba7132 100644 --- a/modes/stun_udp/stun_udp.go +++ b/modes/stun_udp/stun_udp.go @@ -215,13 +215,13 @@ func ServerSetup(termMon *termmon.TermMonitor, bindaddrString string, ptServerIn listen=transport.Listen case "obfs4": if cert, ok := args["cert"]; ok { - if iatModeStr, ok2 := args["iatMode"]; ok2 { + if iatModeStr, ok2 := args["iat-mode"]; ok2 { iatMode, err := strconv.Atoi(iatModeStr[0]) if err != nil { transport := obfs4.NewObfs4Client(cert[0], iatMode) listen=transport.Listen } else { - log.Errorf("obfs4 transport bad iatMode value: %s", iatModeStr) + log.Errorf("obfs4 transport bad iat-mode value: %s", iatModeStr) return } } else { |