From b350bb1b156e9beb3dd2202eb276dbc826f06413 Mon Sep 17 00:00:00 2001 From: Phoenix Kahlo Date: Sat, 21 Dec 2024 01:48:09 -0600 Subject: [PATCH] proto: Refactor Endpoint::handle Removes some unnecessary indirection. --- quinn-proto/src/endpoint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quinn-proto/src/endpoint.rs b/quinn-proto/src/endpoint.rs index c9e039292..2633f8e21 100644 --- a/quinn-proto/src/endpoint.rs +++ b/quinn-proto/src/endpoint.rs @@ -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,