mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
fix: use actual metadata
This commit is contained in:
@@ -271,7 +271,7 @@ func handleUDPConn(packet *inbound.PacketAdapter) {
|
||||
}
|
||||
pCtx.InjectPacketConn(rawPc)
|
||||
|
||||
actualProxy := proxy.Unwrap(nil)
|
||||
actualProxy := proxy.Unwrap(metadata)
|
||||
if actualProxy != nil {
|
||||
if dst, _, err := net.SplitHostPort(actualProxy.Addr()); err == nil {
|
||||
metadata.RemoteDst = dst
|
||||
|
||||
Reference in New Issue
Block a user