0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-12 11:29:36 +03:00

Fix buffer.UDP destination override (#2356)

This commit is contained in:
dyhkwong
2023-08-29 15:12:36 +08:00
committed by GitHub
parent e013dce1df
commit b8bd243df5
6 changed files with 75 additions and 94 deletions

View File

@ -55,8 +55,9 @@ type Inbound struct {
// Outbound is the metadata of an outbound connection.
type Outbound struct {
// Target address of the outbound connection.
Target net.Destination
RouteTarget net.Destination
OriginalTarget net.Destination
Target net.Destination
RouteTarget net.Destination
// Gateway address
Gateway net.Address
}