proto: Refactor Endpoint::handle

Removes some unnecessary indirection.
This commit is contained in:
Phoenix Kahlo
2024-12-21 01:48:09 -06:00
committed by Benjamin Saunders
parent c1aa2a8be8
commit b350bb1b15
+1 -1
View File
@@ -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,