From 85e6297f4c1e5f7402961a57137f3ee494ef03a7 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 1 Sep 2018 07:26:00 -0400 Subject: [PATCH] actually enable i2p --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 3e5cdc2..c3fb967 100644 --- a/main.go +++ b/main.go @@ -23,7 +23,7 @@ func main() { fmt.Printf("failed to create onion proxy to %s, %s\n", os.Args[2], err.Error()) return } - if len(args) > 3 { + if len(args) > 2 { i2p, err = proxy.SOCKS5("tcp", os.Args[3], nil, nil) if err != nil { fmt.Printf("failed to create i2p proxy to %s, %s\n", os.Args[3], err.Error())