mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 20:07:36 +03:00
auto-redirect: Let fw4 take precedence over prerouting
This commit is contained in:
parent
926d6f769e
commit
2f4d2d97f9
3 changed files with 7 additions and 6 deletions
|
@ -338,6 +338,7 @@ func NewRouter(
|
|||
_ = router.interfaceFinder.Update()
|
||||
})
|
||||
interfaceMonitor, err := tun.NewDefaultInterfaceMonitor(router.networkMonitor, router.logger, tun.DefaultInterfaceMonitorOptions{
|
||||
InterfaceFinder: router.interfaceFinder,
|
||||
OverrideAndroidVPN: options.OverrideAndroidVPN,
|
||||
UnderNetworkExtension: platformInterface != nil && platformInterface.UnderNetworkExtension(),
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue