mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-05-24 10:58:15 +08:00
fix: tproxy high cpu usage (#1957)
This commit is contained in:
parent
7de24e26b4
commit
ed7533ca1a
@ -81,7 +81,7 @@ func NewUDP(addr string, tunnel C.Tunnel, additions ...inbound.Addition) (*UDPLi
|
|||||||
}
|
}
|
||||||
|
|
||||||
dscp, _ := getDSCP(oob[:oobn])
|
dscp, _ := getDSCP(oob[:oobn])
|
||||||
additions = append(additions, inbound.WithDSCP(dscp))
|
additions := append(additions, inbound.WithDSCP(dscp)) // don't change outside additions
|
||||||
|
|
||||||
if rAddr.Addr().Is4() {
|
if rAddr.Addr().Is4() {
|
||||||
// try to unmap 4in6 address
|
// try to unmap 4in6 address
|
||||||
|
Loading…
Reference in New Issue
Block a user