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

@ -9,7 +9,6 @@ type PlatformInterface interface {
UsePlatformAutoDetectInterfaceControl() bool
AutoDetectInterfaceControl(fd int32) error
OpenTun(options TunOptions) (int32, error)
UpdateRouteOptions(options TunOptions) error
WriteLog(message string)
UseProcFS() bool
FindConnectionOwner(ipProtocol int32, sourceAddress string, sourcePort int32, destinationAddress string, destinationPort int32) (int32, error)