Support exit nodes on iOS (#1878)

This commit is contained in:
pascal-fischer 2024-04-23 19:12:16 +02:00 committed by GitHub
parent 1e6addaa65
commit 1f33e2e003
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -262,7 +262,7 @@ func (m *DefaultManager) clientRoutes(initialRoutes []*route.Route) []*route.Rou
func isPrefixSupported(prefix netip.Prefix) bool {
if !nbnet.CustomRoutingDisabled() {
switch runtime.GOOS {
case "linux", "windows", "darwin":
case "linux", "windows", "darwin", "ios":
return true
}
}