Fix domain override_address

This commit is contained in:
世界 2024-11-16 17:16:39 +08:00
parent e383cd0765
commit a74d45be47
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -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 {