mirror of
https://github.com/arampoire/onetun.git
synced 2025-12-01 04:40:24 -05:00
Remove broadcasting logic to fix simultaneous connection issues.
This commit is contained in:
parent
b6739a5066
commit
cfdbdc8f51
5 changed files with 86 additions and 123 deletions
|
|
@ -13,7 +13,7 @@ const PORT_RANGE: Range<u16> = MIN_PORT..MAX_PORT;
|
|||
pub struct PortPool {
|
||||
/// Remaining ports
|
||||
inner: lockfree::queue::Queue<u16>,
|
||||
/// Ports in use
|
||||
/// Ports in use, with their associated IP channel sender.
|
||||
taken: lockfree::set::Set<u16>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue