aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/router/mod.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-10-30 16:29:31 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-10-30 16:29:31 +0100
commitc4134171965c59c427b99307a5765eb44e34e609 (patch)
tree3e605fbcbebf437cadb6495b78b579dd50b25be7 /src/wireguard/router/mod.rs
parentChange router job to accommodate keep_key_fresh (diff)
downloadwireguard-rs-c4134171965c59c427b99307a5765eb44e34e609.tar.xz
wireguard-rs-c4134171965c59c427b99307a5765eb44e34e609.zip
Remove unused dependencies
Diffstat (limited to 'src/wireguard/router/mod.rs')
-rw-r--r--src/wireguard/router/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wireguard/router/mod.rs b/src/wireguard/router/mod.rs
index f3565e2..354700a 100644
--- a/src/wireguard/router/mod.rs
+++ b/src/wireguard/router/mod.rs
@@ -14,8 +14,7 @@ mod tests;
use messages::TransportHeader;
use std::mem;
-use super::constants::REJECT_AFTER_MESSAGES;
-use super::constants::REKEY_AFTER_MESSAGES;
+use super::constants::*;
pub const SIZE_MESSAGE_PREFIX: usize = mem::size_of::<TransportHeader>();
pub const CAPACITY_MESSAGE_POSTFIX: usize = workers::SIZE_TAG;