aboutsummaryrefslogtreecommitdiffstats
path: root/src/interface/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/config.rs')
-rw-r--r--src/interface/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/config.rs b/src/interface/config.rs
index 9ccebde..41762ea 100644
--- a/src/interface/config.rs
+++ b/src/interface/config.rs
@@ -145,7 +145,7 @@ pub struct ConfigurationService {
}
impl ConfigurationService {
- pub fn new(interface_name: &str, state: &SharedState, peer_server_tx: mpsc::Sender<ChannelMessage>, handle: &Handle) -> Result<Self, Error> {
+ pub fn new(interface_name: &str, state: &SharedState, peer_server_tx: mpsc::UnboundedSender<ChannelMessage>, handle: &Handle) -> Result<Self, Error> {
let config_path = Self::get_path(interface_name).unwrap();
let listener = UnixListener::bind(config_path.clone(), handle).unwrap();