Roll back broken TunnelKit .killSwitch flag (#294)

This commit is contained in:
Davide De Rosa 2023-04-18 17:22:45 +02:00 committed by GitHub
parent 1cb5821f9d
commit 2a54d59a80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 2 deletions

View File

@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- Roll back broken kill switch flag. [#294](https://github.com/passepartoutvpn/passepartout-apple/pull/294)
- Remove nonsense Mac menus (macOS). [#285](https://github.com/passepartoutvpn/passepartout-apple/pull/285) - Remove nonsense Mac menus (macOS). [#285](https://github.com/passepartoutvpn/passepartout-apple/pull/285)
## 2.1.0 (2023-04-07) ## 2.1.0 (2023-04-07)

View File

@ -68,7 +68,6 @@ extension Profile.OpenVPNSettings: VPNConfigurationProviding {
extra.passwordReference = parameters.passwordReference extra.passwordReference = parameters.passwordReference
extra.onDemandRules = parameters.onDemandRules extra.onDemandRules = parameters.onDemandRules
extra.disconnectsOnSleep = !parameters.networkSettings.keepsAliveOnSleep extra.disconnectsOnSleep = !parameters.networkSettings.keepsAliveOnSleep
extra.killSwitch = true
pp_log.verbose("Configuration:") pp_log.verbose("Configuration:")
pp_log.verbose(cfg) pp_log.verbose(cfg)

View File

@ -56,7 +56,6 @@ extension Profile.WireGuardSettings: VPNConfigurationProviding {
var extra = NetworkExtensionExtra() var extra = NetworkExtensionExtra()
extra.onDemandRules = parameters.onDemandRules extra.onDemandRules = parameters.onDemandRules
extra.disconnectsOnSleep = !parameters.networkSettings.keepsAliveOnSleep extra.disconnectsOnSleep = !parameters.networkSettings.keepsAliveOnSleep
extra.killSwitch = true
pp_log.verbose("Configuration:") pp_log.verbose("Configuration:")
pp_log.verbose(cfg) pp_log.verbose(cfg)