summaryrefslogtreecommitdiffstats
path: root/src/wireguard/handshake/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wireguard/handshake/tests.rs')
-rw-r--r--src/wireguard/handshake/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wireguard/handshake/tests.rs b/src/wireguard/handshake/tests.rs
index 6be7b51..1df046d 100644
--- a/src/wireguard/handshake/tests.rs
+++ b/src/wireguard/handshake/tests.rs
@@ -192,6 +192,6 @@ fn handshake_no_load() {
wait();
}
- dev1.remove(pk2).unwrap();
- dev2.remove(pk1).unwrap();
+ dev1.remove(&pk2).unwrap();
+ dev2.remove(&pk1).unwrap();
}