diff options
Diffstat (limited to 'modes/transparent_tcp')
-rw-r--r-- | modes/transparent_tcp/transparent_tcp.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modes/transparent_tcp/transparent_tcp.go b/modes/transparent_tcp/transparent_tcp.go index 17cd5d4..0e06869 100644 --- a/modes/transparent_tcp/transparent_tcp.go +++ b/modes/transparent_tcp/transparent_tcp.go @@ -48,13 +48,9 @@ import ( "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow" ) -const ( - socksAddr = "127.0.0.1:1234" -) - var stateDir string -func ClientSetup(termMon *termmon.TermMonitor, target string, ptClientProxy *url.URL, names []string, options string) (launched bool, listeners []net.Listener) { +func ClientSetup(termMon *termmon.TermMonitor, socksAddr string, target string, ptClientProxy *url.URL, names []string, options string) (launched bool, listeners []net.Listener) { // Launch each of the client listeners. for _, name := range names { ln, err := net.Listen("tcp", socksAddr) |