mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-10 06:34:03 -04:00
Replace lockfree with tokio::sync
This commit is contained in:
parent
5cec6d4943
commit
11c5ec99fd
7 changed files with 52 additions and 53 deletions
|
@ -22,7 +22,7 @@ async fn main() -> anyhow::Result<()> {
|
|||
init_logger(&config)?;
|
||||
|
||||
// Initialize the port pool for each protocol
|
||||
let tcp_port_pool = Arc::new(TcpPortPool::new());
|
||||
let tcp_port_pool = TcpPortPool::new();
|
||||
// TODO: udp_port_pool
|
||||
|
||||
let wg = WireGuardTunnel::new(&config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue