Do not set address sets to routes on Apple platforms

Network Extension was observed to stop for unknown reasons
This commit is contained in:
世界 2025-01-27 13:40:26 +08:00
parent 9b73222314
commit e64cf3b7df
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
5 changed files with 2 additions and 56 deletions

View file

@ -13,7 +13,6 @@ type Interface interface {
UsePlatformAutoDetectInterfaceControl() bool
AutoDetectInterfaceControl(fd int) error
OpenTun(options *tun.Options, platformOptions option.TunPlatformOptions) (tun.Tun, error)
UpdateRouteOptions(options *tun.Options, platformOptions option.TunPlatformOptions) error
CreateDefaultInterfaceMonitor(logger logger.Logger) tun.DefaultInterfaceMonitor
Interfaces() ([]adapter.NetworkInterface, error)
UnderNetworkExtension() bool