mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 00:51:12 +03:00
Fix OverrideGateway
This commit is contained in:
@@ -485,7 +485,7 @@ match:
|
|||||||
Fqdn: metadata.Destination.Fqdn,
|
Fqdn: metadata.Destination.Fqdn,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if routeOptions.OverrideGateway.IsValid() {
|
if routeOptions.OverrideGateway != nil && routeOptions.OverrideGateway.IsValid() {
|
||||||
metadata.Gateway = routeOptions.OverrideGateway
|
metadata.Gateway = routeOptions.OverrideGateway
|
||||||
}
|
}
|
||||||
if routeOptions.NetworkStrategy != nil {
|
if routeOptions.NetworkStrategy != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user