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