mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-08 05:23:44 +02:00
added init
This commit is contained in:
parent
c14f2edff6
commit
3751397655
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ impl<Application: ApplicationLayer> Context<Application> {
|
|||
///
|
||||
/// * `max_incomplete_session_queue_size` - Maximum number of incomplete sessions in negotiation phase
|
||||
pub fn new(max_incomplete_session_queue_size: usize) -> Self {
|
||||
zerotier_crypto::init();
|
||||
Self {
|
||||
max_incomplete_session_queue_size,
|
||||
defrag: Mutex::new(HashMap::new()),
|
||||
|
|
Loading…
Add table
Reference in a new issue