aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/router/device.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2021-01-13 18:10:04 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2021-01-13 18:10:52 +0100
commit7d84ef9064559a29b23ab86036f7ef62b450f90c (patch)
tree9a849e0b80218125b007420d7d472665b1619c4e /src/wireguard/router/device.rs
parentUpgrade dependencies (diff)
downloadwireguard-rs-7d84ef9064559a29b23ab86036f7ef62b450f90c.tar.xz
wireguard-rs-7d84ef9064559a29b23ab86036f7ef62b450f90c.zip
Allows for erroneous Clippy lintsHEADmaster
Signed-off-by: Mathias Hall-Andersen <mathias@hall-andersen.dk>
Diffstat (limited to 'src/wireguard/router/device.rs')
-rw-r--r--src/wireguard/router/device.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wireguard/router/device.rs b/src/wireguard/router/device.rs
index 54e5149..eeae621 100644
--- a/src/wireguard/router/device.rs
+++ b/src/wireguard/router/device.rs
@@ -30,6 +30,7 @@ pub struct DeviceInner<E: Endpoint, C: Callbacks, T: tun::Writer, B: udp::Writer
pub(super) outbound: RwLock<(bool, Option<B>)>,
// routing
+ #[allow(clippy::type_complexity)]
pub(super) recv: RwLock<HashMap<u32, Arc<DecryptionState<E, C, T, B>>>>, /* receiver id -> decryption state */
pub(super) table: RoutingTable<Peer<E, C, T, B>>,