fix: tunnel's inboundTFO missing

This commit is contained in:
wwqgtxx
2023-02-24 14:19:50 +08:00
parent 8f0c61ed14
commit 880664c6ab
2 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@ func (l *Listener) handleTCP(conn net.Conn, in chan<- C.ConnContext, additions .
}
func New(addr, target, proxy string, in chan<- C.ConnContext, additions ...inbound.Addition) (*Listener, error) {
l, err := net.Listen("tcp", addr)
l, err := inbound.Listen("tcp", addr)
if err != nil {
return nil, err
}