mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
Merge remote-tracking branch 'Meta/Alpha' into Alpha
# Conflicts: # listener/tun/ipstack/commons/router_linux.go
This commit is contained in:
commit
b307bcb4a9
|
@ -28,7 +28,7 @@ func ConfigInterfaceAddress(dev device.Device, addr netip.Prefix, forceMTU int,
|
|||
return err
|
||||
}
|
||||
|
||||
execRouterCmd("add", addr.String(), interfaceName, ip.String(), "main")
|
||||
execRouterCmd("add", addr.Masked().String(), interfaceName, ip.String(), "main")
|
||||
|
||||
if autoRoute {
|
||||
err = configInterfaceRouting(interfaceName, addr, autoDetectInterface)
|
||||
|
|
Loading…
Reference in New Issue
Block a user