summaryrefslogtreecommitdiffhomepage
path: root/talpid-core/src
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2020-11-19 15:07:21 +0100
committerDavid Lönnhager <david.l@mullvad.net>2020-11-24 12:29:47 +0100
commita6ad39b7432e561fce4beb0adcd1cd84450b03de (patch)
tree4c9c4fc87dc731328fa5ba7f1c976ae58e450321 /talpid-core/src
parent819ec03b833a322fd59f87d27a0d5dad4539fcde (diff)
downloadmullvadvpn-a6ad39b7432e561fce4beb0adcd1cd84450b03de.tar.xz
mullvadvpn-a6ad39b7432e561fce4beb0adcd1cd84450b03de.zip
Remove all route tracking for WG on Linux
Diffstat (limited to 'talpid-core/src')
-rw-r--r--talpid-core/src/tunnel/wireguard/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/talpid-core/src/tunnel/wireguard/mod.rs b/talpid-core/src/tunnel/wireguard/mod.rs
index afee8f5a3a..dd18048dbb 100644
--- a/talpid-core/src/tunnel/wireguard/mod.rs
+++ b/talpid-core/src/tunnel/wireguard/mod.rs
@@ -258,6 +258,7 @@ impl WireguardMonitor {
.collect();
// route endpoints with specific routes
+ #[cfg(not(target_os = "linux"))]
for peer in config.peers.iter() {
routes.insert(RequiredRoute::new(
peer.endpoint.ip().into(),