]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commit
NetworkExtension: use excludedRoutes instead of binding on iOS
authorJason A. Donenfeld <Jason@zx2c4.com>
Sat, 25 May 2019 11:48:51 +0000 (13:48 +0200)
committerRoopesh Chander <roop@roopc.net>
Sat, 25 May 2019 18:42:47 +0000 (00:12 +0530)
commit813dea69026c2853425513f776a9a7d5eb8676ce
tree52f8551fd337cf7c68cf6513a2e7337102714cdd
parentc30d491edc1f4b56a729992e52edf5828d8d7208
NetworkExtension: use excludedRoutes instead of binding on iOS

The networking stack there is to flaky and the notifier doesn't always
fire correctly. Hopefully excludedRoutes works well with XLAT; otherwise
we're in trouble.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
WireGuard/WireGuardNetworkExtension/PacketTunnelSettingsGenerator.swift