aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-18 15:44:20 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-18 15:44:20 +0200
commit31ef3e287114228afeb4be47f96f60402f5b9001 (patch)
treeee91b1b0e4f8d07001d5ab16c42db5ed10f83c50 /src/main.rs
parentRemove peer from cryptkey router on drop (diff)
downloadwireguard-rs-31ef3e287114228afeb4be47f96f60402f5b9001.tar.xz
wireguard-rs-31ef3e287114228afeb4be47f96f60402f5b9001.zip
Implemented keypair_confirm
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 82a4b0c..272c5e2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -16,5 +16,5 @@ fn main() {
let mut rdev = router::Device::new(8);
- let pref = rdev.add();
+ let pref = rdev.new_peer();
}