From 3eee4e2869a783c6f3a5baef279406d82c063f23 Mon Sep 17 00:00:00 2001 From: Bluesaxorcist Date: Sun, 13 Oct 2019 21:21:42 -0500 Subject: renamed all of the iatMode strings to iat-mode --- modes/stun_udp/stun_udp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modes/stun_udp/stun_udp.go') 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 { -- cgit v1.2.3