aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wireguard/tests.rs')
-rw-r--r--src/wireguard/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wireguard/tests.rs b/src/wireguard/tests.rs
index 37dd571..6a02e1f 100644
--- a/src/wireguard/tests.rs
+++ b/src/wireguard/tests.rs
@@ -133,11 +133,11 @@ fn test_pure_wireguard() {
peer1
.router
- .add_allowed_ips("192.168.1.0".parse().unwrap(), 24);
+ .add_allowed_ip("192.168.1.0".parse().unwrap(), 24);
peer2
.router
- .add_allowed_ips("192.168.2.0".parse().unwrap(), 24);
+ .add_allowed_ip("192.168.2.0".parse().unwrap(), 24);
// set endpoint (the other should be learned dynamically)