aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake McGinty <me@jake.su>2018-04-26 19:01:23 -0700
committerJake McGinty <me@jake.su>2018-04-26 19:01:23 -0700
commiteb43c2c8fef5d821b8ff6d567a72065a1814407a (patch)
tree702a70b02e85d066f90bfb25c269184ff205035a
parentpeer_server: make Error the error type, not () (diff)
downloadwireguard-rs-eb43c2c8fef5d821b8ff6d567a72065a1814407a.tar.xz
wireguard-rs-eb43c2c8fef5d821b8ff6d567a72065a1814407a.zip
consts: fix typo in MAX_PEERS_PER_DEVICE
-rw-r--r--src/consts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/consts.rs b/src/consts.rs
index a8c812d..0aa644d 100644
--- a/src/consts.rs
+++ b/src/consts.rs
@@ -31,4 +31,4 @@ pub const PADDING_MULTIPLE : usize = 16;
pub const MAX_QUEUED_INCOMING_HANDSHAKES : usize = 4096;
pub const MAX_QUEUED_PACKETS : usize = 1024;
-pub const MAX_PEERS_PER_DEVICE : usize = 3 << 20;
+pub const MAX_PEERS_PER_DEVICE : usize = 1 << 20;