mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 18:11:28 +00:00
Fix domain override_address
This commit is contained in:
parent
e383cd0765
commit
a74d45be47
|
@ -438,7 +438,7 @@ match:
|
||||||
metadata.Destination = M.Socksaddr{
|
metadata.Destination = M.Socksaddr{
|
||||||
Addr: routeOptions.OverrideAddress.Addr,
|
Addr: routeOptions.OverrideAddress.Addr,
|
||||||
Port: metadata.Destination.Port,
|
Port: metadata.Destination.Port,
|
||||||
Fqdn: metadata.Destination.Fqdn,
|
Fqdn: routeOptions.OverrideAddress.Fqdn,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if routeOptions.OverridePort > 0 {
|
if routeOptions.OverridePort > 0 {
|
||||||
|
|
Loading…
Reference in a new issue