summaryrefslogtreecommitdiffhomepage
path: root/src/process
diff options
context:
space:
mode:
Diffstat (limited to 'src/process')
-rw-r--r--src/process/openvpn.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/process/openvpn.rs b/src/process/openvpn.rs
index 2d25deb965..b533b32b67 100644
--- a/src/process/openvpn.rs
+++ b/src/process/openvpn.rs
@@ -1,3 +1,5 @@
+extern crate openvpn_ffi;
+
use super::monitor::{ChildSpawner, ChildMonitor};
use clonablechild::{ClonableChild, ChildExt};
@@ -160,7 +162,7 @@ impl ChildSpawner for OpenVpnCommand {
/// Possible events from OpenVPN
pub enum OpenVpnEvent {
/// An event from the plugin loaded into OpenVPN.
- PluginEvent(Result<HashMap<String, String>>),
+ PluginEvent(Result<(openvpn_ffi::OpenVpnPluginEvent, HashMap<String, String>)>),
/// The OpenVPN process exited. The bool indicates if the process exited cleanly.
Shutdown(bool),
}