summaryrefslogtreecommitdiff
path: root/client/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/main.go')
-rw-r--r--client/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/main.go b/client/main.go
index 5cdfa4f..e9af09b 100644
--- a/client/main.go
+++ b/client/main.go
@@ -60,15 +60,15 @@ func main() {
}
}
- addr := net.JoinHostPort(socksHost, socksPort)
+ socksAddr := net.JoinHostPort(socksHost, socksPort)
server := &socks5.Server{
- Addr: addr,
+ Addr: socksAddr,
BindIP: "127.0.0.1",
Dial: dialer.Dial,
}
- fmt.Printf("[+] Starting socks5 proxy at %s\n", addr)
+ fmt.Printf("[+] Starting socks5 proxy at %s\n", socksAddr)
if err := server.ListenAndServe(); err != nil {
panic(err)
}