diff --git a/xs/xs.go b/xs/xs.go index 83c89c1..c4ac922 100755 --- a/xs/xs.go +++ b/xs/xs.go @@ -689,24 +689,24 @@ func sendSessionParams(conn io.Writer /* *xsnet.Conn*/, rec *xs.Session) (e erro // TODO: reduce gocyclo func main() { //nolint: funlen, gocyclo var ( - isInteractive bool - vopt bool - gopt bool // true: login via password, asking server to generate authToken - dbg bool - shellMode bool // true: act as shell, false: file copier - cipherAlg string - hmacAlg string - kexAlg string - server string - port uint - cmdStr string - tunSpecStr string // lport1:rport1[,lport2:rport2,...] - rekeySecs uint - remodRequested bool // true: when rekeying, switch to random cipher/hmac alg - copySrc []byte - copyDst string - copyQuiet bool - copyLimitBPS uint + isInteractive bool + vopt bool + gopt bool // true: login via password, asking server to generate authToken + dbg bool + shellMode bool // true: act as shell, false: file copier + cipherAlg string + hmacAlg string + kexAlg string + server string + port uint + cmdStr string + tunSpecStr string // lport1:rport1[,lport2:rport2,...] + rekeySecs uint + remodRequested bool // true: when rekeying, switch to random cipher/hmac alg + copySrc []byte + copyDst string + copyQuiet bool + copyLimitBPS uint authCookie string chaffEnabled bool @@ -969,7 +969,7 @@ func main() { //nolint: funlen, gocyclo if kcpMode != "unused" { proto = "kcp" } - + remodExtArg := "" if remodRequested { remodExtArg = "OPT_REMOD"