use a rewriter instead
This commit is contained in:
parent
8a90646a68
commit
1613acbfab
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ func (r Rewriter) Rewrite(ctx context.Context, request *socks5.Request) (context
|
|||
return ctx, addr
|
||||
}
|
||||
|
||||
func NewRewriter() Rewriter {
|
||||
func NewRewriter() *Rewriter {
|
||||
var r Rewriter
|
||||
return &r
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue