Fix tproxy inbound

This commit is contained in:
世界 committed 2022-07-22 16:18:56 +08:00
1 parent 7bc7b72c61
commit bcdf71deb3
3 files changed
+9 -21

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ func (t *TProxy) Start() error {
if err != nil {
return err
}
err = redir.TProxyUDP(udpFd, M.SocksaddrFromNet(t.udpConn.LocalAddr()).Addr.Is6())
err = redir.TProxy(udpFd, M.SocksaddrFromNet(t.udpConn.LocalAddr()).Addr.Is6())
if err != nil {
return E.Cause(err, "configure tproxy UDP listener")
}