diff options
author | Jake McGinty <me@jake.su> | 2018-04-26 19:01:23 -0700 |
---|---|---|
committer | Jake McGinty <me@jake.su> | 2018-04-26 19:01:23 -0700 |
commit | eb43c2c8fef5d821b8ff6d567a72065a1814407a (patch) | |
tree | 702a70b02e85d066f90bfb25c269184ff205035a /src/consts.rs | |
parent | peer_server: make Error the error type, not () (diff) | |
download | wireguard-rs-eb43c2c8fef5d821b8ff6d567a72065a1814407a.tar.xz wireguard-rs-eb43c2c8fef5d821b8ff6d567a72065a1814407a.zip |
consts: fix typo in MAX_PEERS_PER_DEVICE
Diffstat (limited to '')
-rw-r--r-- | src/consts.rs | 2 |
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; |