fix: use actual metadata
This commit is contained in:
parent
b1c3a102cf
commit
d446e0f316
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue