summaryrefslogtreecommitdiffhomepage
path: root/talpid-openvpn-plugin/src/processing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'talpid-openvpn-plugin/src/processing.rs')
-rw-r--r--talpid-openvpn-plugin/src/processing.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/talpid-openvpn-plugin/src/processing.rs b/talpid-openvpn-plugin/src/processing.rs
index 5ac6bed8d3..900340820c 100644
--- a/talpid-openvpn-plugin/src/processing.rs
+++ b/talpid-openvpn-plugin/src/processing.rs
@@ -62,7 +62,7 @@ impl EventProcessor {
pub fn process_event(
&mut self,
- event: openvpn_plugin::types::OpenVpnPluginEvent,
+ event: openvpn_plugin::EventType,
env: HashMap<String, String>,
) -> Result<()> {
log::trace!("Processing \"{:?}\" event", event);
@@ -86,5 +86,5 @@ impl EventProcessor {
}
jsonrpc_client!(pub struct EventProxy {
- pub fn openvpn_event(&mut self, event: openvpn_plugin::types::OpenVpnPluginEvent, env: HashMap<String, String>) -> Future<()>;
+ pub fn openvpn_event(&mut self, event: openvpn_plugin::EventType, env: HashMap<String, String>) -> Future<()>;
});