aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
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();
}