mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-08 11:44:13 +08:00
Fix overriding address
This commit is contained in:
parent
f2bbf6b2aa
commit
e6d19de58a
@ -418,6 +418,7 @@ match:
|
|||||||
Port: metadata.Destination.Port,
|
Port: metadata.Destination.Port,
|
||||||
Fqdn: routeOptions.OverrideAddress.Fqdn,
|
Fqdn: routeOptions.OverrideAddress.Fqdn,
|
||||||
}
|
}
|
||||||
|
metadata.DestinationAddresses = nil
|
||||||
}
|
}
|
||||||
if routeOptions.OverridePort > 0 {
|
if routeOptions.OverridePort > 0 {
|
||||||
metadata.Destination = M.Socksaddr{
|
metadata.Destination = M.Socksaddr{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user