aboutsummaryrefslogtreecommitdiffstats
path: root/Sources/WireGuardKit/WireGuardAdapter.swift
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-01-01 18:26:49 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-01-01 18:28:14 +0100
commit7b5b564a6ee3d3be90cdb56472cd404e8a0eaa18 (patch)
tree40bcbb9a1877a2bcf33d44187530f4c5ac393293 /Sources/WireGuardKit/WireGuardAdapter.swift
parentKit: Go: mod bump (diff)
downloadwireguard-apple-7b5b564a6ee3d3be90cdb56472cd404e8a0eaa18.tar.xz
wireguard-apple-7b5b564a6ee3d3be90cdb56472cd404e8a0eaa18.zip
Kit: netcfg: add explicit IP mask routes
macOS will use the wrong source address unless we add explicit routes that mention the self-pointing gateway. Actually, it won't add any implicit routes on its own, so in order to route the masks of the addresses, we have to add our own routes explicitly. However, this still doesn't fix the problem while inside of the network extension, even though it works outside it. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'Sources/WireGuardKit/WireGuardAdapter.swift')
0 files changed, 0 insertions, 0 deletions