From fd1c21b114fb1e68980ad228bfc3961099c0d138 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Thu, 8 Jun 2023 14:11:37 +0800 Subject: fmt --- src/rendezvous_server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rendezvous_server.rs b/src/rendezvous_server.rs index ea2767c..5db44e6 100644 --- a/src/rendezvous_server.rs +++ b/src/rendezvous_server.rs @@ -1192,7 +1192,7 @@ impl RendezvousServer { SocketAddr::V4(v4_socket_addr) => { return network.contains(*v4_socket_addr.ip()); } - + SocketAddr::V6(v6_socket_addr) => { if let Some(v4_addr) = v6_socket_addr.ip().to_ipv4_mapped() { return network.contains(v4_addr); -- cgit v1.2.3