diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-12-16 16:37:16 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-12-16 16:37:16 +0100 |
commit | 22f978f0142286b26b48a25364236436b9bad56d (patch) | |
tree | c8d4bf722e1134c8a66d821b63b7f04eec93a9b0 /src/configuration/config.rs | |
parent | Revert to crossbeam (diff) | |
download | wireguard-rs-22f978f0142286b26b48a25364236436b9bad56d.tar.xz wireguard-rs-22f978f0142286b26b48a25364236436b9bad56d.zip |
Clean dead code
Diffstat (limited to '')
-rw-r--r-- | src/configuration/config.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/configuration/config.rs b/src/configuration/config.rs index c045d1e..94b79f7 100644 --- a/src/configuration/config.rs +++ b/src/configuration/config.rs @@ -29,12 +29,6 @@ pub struct PeerState { pub struct WireguardConfig<T: tun::Tun, B: udp::PlatformUDP>(Arc<Mutex<Inner<T, B>>>); -struct State<B: udp::PlatformUDP> { - port: u16, - bind: Option<B::Owner>, - fwmark: Option<u32>, -} - struct Inner<T: tun::Tun, B: udp::PlatformUDP> { wireguard: Wireguard<T, B>, port: u16, |