diff options
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); |
