diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-08-20 14:33:11 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-08-20 14:33:11 +0200 |
commit | 7e727d120b4c7375b7dd2f1210a883c876531c06 (patch) | |
tree | 43b30640038535c9f3d6640659707c5fd36b595b /src/main.rs | |
parent | Implemented keypair_confirm (diff) | |
download | wireguard-rs-7e727d120b4c7375b7dd2f1210a883c876531c06.tar.xz wireguard-rs-7e727d120b4c7375b7dd2f1210a883c876531c06.zip |
Restructure and job stealing work queue
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 272c5e2..aa73fd2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,7 @@ fn main() { // choose optimal crypto implementations for platform sodiumoxide::init().unwrap(); - let mut rdev = router::Device::new(8); + let mut router = router::Device::new(8); - let pref = rdev.new_peer(); + let peer = router.new_peer(); } |