mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-22 19:24:08 +00:00
proto: Refactor Endpoint::handle
Removes some unnecessary indirection.
This commit is contained in:
committed by
Benjamin Saunders
parent
c1aa2a8be8
commit
b350bb1b15
@@ -202,7 +202,7 @@ impl Endpoint {
|
||||
if let Some(route_to) = self.index.get(&addresses, &first_decode) {
|
||||
let event = DatagramConnectionEvent {
|
||||
now,
|
||||
remote: addresses.remote,
|
||||
remote,
|
||||
ecn,
|
||||
first_decode,
|
||||
remaining,
|
||||
|
||||
Reference in New Issue
Block a user