aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/config.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index 60faf43..3376dcc 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -3,7 +3,8 @@ use std::net::{IpAddr, SocketAddr};
use x25519_dalek::{PublicKey, StaticSecret};
use crate::wireguard::Wireguard;
-use crate::types::{Bind, Endpoint, Tun};
+use crate::types::tun::Tun;
+use crate::types::bind::Bind;
///
/// The goal of the configuration interface is, among others,
@@ -177,7 +178,7 @@ impl <T : Tun, B : Bind>Configuration for Wireguard<T, B> {
}
fn set_listen_port(&self, port : u16) -> Option<ConfigError> {
-
+ None
}
} \ No newline at end of file