From 49f19c6612091ba54a6cf5eb71868bb67fc62d1d Mon Sep 17 00:00:00 2001 From: Robin Tarsiger Date: Sun, 3 Apr 2016 15:02:47 -0500 Subject: Explicitly import proxy dialers for side effects These register themselves at init time. Previously they were in the main package and thus did not need to be explicitly imported. --- obfs4proxy/obfs4proxy.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/obfs4proxy/obfs4proxy.go b/obfs4proxy/obfs4proxy.go index 6673713..cad1cdd 100644 --- a/obfs4proxy/obfs4proxy.go +++ b/obfs4proxy/obfs4proxy.go @@ -47,6 +47,9 @@ import ( "github.com/OperatorFoundation/obfs4/modes/pt_socks5" "github.com/OperatorFoundation/obfs4/modes/transparent_tcp" "github.com/OperatorFoundation/obfs4/modes/transparent_udp" + + _ "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4" + _ "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http" ) const ( -- cgit v1.2.3