mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-04 21:53:37 +03:00
fix: tproxy high cpu usage (#1957)
This commit is contained in:
parent
7de24e26b4
commit
ed7533ca1a
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ func NewUDP(addr string, tunnel C.Tunnel, additions ...inbound.Addition) (*UDPLi
|
|||
}
|
||||
|
||||
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() {
|
||||
// try to unmap 4in6 address
|
||||
|
|
Loading…
Add table
Reference in a new issue