diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2018-11-15 16:00:08 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2018-11-15 16:00:08 +0100 |
| commit | 77e16517d54c9d0fbb9a1252acdca8dbf628a039 (patch) | |
| tree | c090458c7fd008ff76213cfb3d3928602a471464 /talpid-core/src | |
| parent | ec1c0f6bd38199f06a144e43f6179ba17040665e (diff) | |
| parent | 55917b506e3c7023f406fc806f5e52e9ab566cb3 (diff) | |
| download | mullvadvpn-77e16517d54c9d0fbb9a1252acdca8dbf628a039.tar.xz mullvadvpn-77e16517d54c9d0fbb9a1252acdca8dbf628a039.zip | |
Merge branch 'transition-to-connected-after-routes'
Diffstat (limited to 'talpid-core/src')
| -rw-r--r-- | talpid-core/src/tunnel/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/talpid-core/src/tunnel/mod.rs b/talpid-core/src/tunnel/mod.rs index 39f20588ff..410dcc39bb 100644 --- a/talpid-core/src/tunnel/mod.rs +++ b/talpid-core/src/tunnel/mod.rs @@ -109,7 +109,7 @@ impl TunnelEvent { let reason = env.get("auth_failed_reason").cloned(); Some(TunnelEvent::AuthFailed(reason)) } - openvpn_plugin::EventType::Up => { + openvpn_plugin::EventType::RouteUp => { let interface = env .get("dev") .expect("No \"dev\" in tunnel up event") @@ -191,7 +191,7 @@ impl TunnelMonitor { }; let on_openvpn_event = move |event, env| { - if event == openvpn_plugin::EventType::Up { + if event == openvpn_plugin::EventType::RouteUp { // The user-pass file has been read. Try to delete it early. let _ = fs::remove_file(&user_pass_file_path); |
