summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2020-11-11 11:58:32 +0100
committerDavid Lönnhager <david.l@mullvad.net>2020-11-16 13:18:54 +0100
commit0d7b165aa53f530df97a1818e925f4ad6bab480d (patch)
tree85259e5d838e72aca136975642c9377226394d77
parent76fc767c9d6f19de858384efeda25df776557271 (diff)
downloadmullvadvpn-0d7b165aa53f530df97a1818e925f4ad6bab480d.tar.xz
mullvadvpn-0d7b165aa53f530df97a1818e925f4ad6bab480d.zip
Comment for the fe80::8 gateway exception
-rw-r--r--talpid-core/src/tunnel/openvpn.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/talpid-core/src/tunnel/openvpn.rs b/talpid-core/src/tunnel/openvpn.rs
index b311a8bcbd..8760fcd710 100644
--- a/talpid-core/src/tunnel/openvpn.rs
+++ b/talpid-core/src/tunnel/openvpn.rs
@@ -398,6 +398,8 @@ fn extract_routes(env: &HashMap<String, String>) -> Result<HashSet<RequiredRoute
));
#[cfg(windows)]
let tun_node6 = if tun_gateway_ip6.is_some() {
+ // The tapdrvr expects a special address here rather than a real gateway.
+ // See https://github.com/OpenVPN/openvpn/blob/23e11e591347080efa3b933beca7f620dd059d5c/src/openvpn/route.c#L2013
routing::NetNode::from(routing::Node::new(
"fe80::8"
.parse()