summaryrefslogtreecommitdiffstats
path: root/src/wireguard/router/inbound.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-12-16 15:26:15 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-12-16 15:26:15 +0100
commitfd3ba63e80e7f97ae89ab5938fe6594c2d1c0869 (patch)
treeeb4d998b2e2b19440466c17a22d5742cd9ebdfc7 /src/wireguard/router/inbound.rs
parentRemoved unused atexit (diff)
downloadwireguard-rs-fd3ba63e80e7f97ae89ab5938fe6594c2d1c0869.tar.xz
wireguard-rs-fd3ba63e80e7f97ae89ab5938fe6594c2d1c0869.zip
Revert to crossbeam
Diffstat (limited to 'src/wireguard/router/inbound.rs')
-rw-r--r--src/wireguard/router/inbound.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wireguard/router/inbound.rs b/src/wireguard/router/inbound.rs
index db6d3f3..96c2e33 100644
--- a/src/wireguard/router/inbound.rs
+++ b/src/wireguard/router/inbound.rs
@@ -8,12 +8,12 @@ use super::runq::RunQueue;
use super::types::Callbacks;
use super::{tun, udp, Endpoint};
+use crossbeam_channel::Receiver;
use ring::aead::{Aad, LessSafeKey, Nonce, UnboundKey, CHACHA20_POLY1305};
use zerocopy::{AsBytes, LayoutVerified};
use std::mem;
use std::sync::atomic::Ordering;
-use std::sync::mpsc::Receiver;
use std::sync::Arc;
pub const SIZE_TAG: usize = 16;