feat: fix prudp stuff(almost there)
This commit is contained in:
parent
ac21581957
commit
803a98aa0b
5 changed files with 88 additions and 27 deletions
|
|
@ -51,6 +51,8 @@ impl Router {
|
|||
|
||||
let connection = packet.source_sockaddr(addr);
|
||||
|
||||
println!("data from {:?}", connection);
|
||||
|
||||
let endpoints = self.endpoints.read().await;
|
||||
|
||||
let Some(endpoint) = endpoints[packet.header.destination_port.get_port_number() as usize].as_ref() else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue