aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hostmatcher/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hostmatcher/http.go')
-rw-r--r--modules/hostmatcher/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hostmatcher/http.go b/modules/hostmatcher/http.go
index 9dae61a44c..31430a9595 100644
--- a/modules/hostmatcher/http.go
+++ b/modules/hostmatcher/http.go
@@ -13,7 +13,7 @@ import (
)
// NewDialContext returns a DialContext for Transport, the DialContext will do allow/block list check
-func NewDialContext(usage string, allowList *HostMatchList, blockList *HostMatchList) func(ctx context.Context, network, addr string) (net.Conn, error) {
+func NewDialContext(usage string, allowList, blockList *HostMatchList) func(ctx context.Context, network, addr string) (net.Conn, error) {
// How Go HTTP Client works with redirection:
// transport.RoundTrip URL=http://domain.com, Host=domain.com
// transport.DialContext addrOrHost=domain.com:80