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
5 changed files with 2 additions and 56 deletions

View File

@@ -66,10 +66,6 @@ func (s *platformInterfaceStub) OpenTun(options *tun.Options, platformOptions op
return nil, os.ErrInvalid
}
func (s *platformInterfaceStub) UpdateRouteOptions(options *tun.Options, platformInterface option.TunPlatformOptions) error {
return os.ErrInvalid
}
func (s *platformInterfaceStub) UsePlatformDefaultInterfaceMonitor() bool {
return true
}