diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-09-04 19:08:13 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-09-04 19:08:13 +0200 |
commit | 6d11da441bde4fa75eef755bef4c97f0d1f6a29b (patch) | |
tree | 41575f0851461e0080258af4a11615de5a9d99c3 /src/router/tests.rs | |
parent | Wake workers when submitting work (diff) | |
download | wireguard-rs-6d11da441bde4fa75eef755bef4c97f0d1f6a29b.tar.xz wireguard-rs-6d11da441bde4fa75eef755bef4c97f0d1f6a29b.zip |
Simply passing of JobBuffer ownership
Diffstat (limited to 'src/router/tests.rs')
-rw-r--r-- | src/router/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router/tests.rs b/src/router/tests.rs index d626aeb..1e049c4 100644 --- a/src/router/tests.rs +++ b/src/router/tests.rs @@ -131,7 +131,7 @@ fn test_outbound() { workers, TunTest {}, BindTest {}, - |t: &Arc<AtomicBool>, data: bool, sent: bool| {}, + |t: &Arc<AtomicBool>, data: bool, sent: bool| println!("send"), |t: &Arc<AtomicBool>, data: bool, sent: bool| {}, |t: &Arc<AtomicBool>| t.store(true, Ordering::SeqCst), ); |