aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrustdesk <[email protected]>2023-06-08 14:11:37 +0800
committerrustdesk <[email protected]>2023-06-08 14:11:37 +0800
commitfd1c21b114fb1e68980ad228bfc3961099c0d138 (patch)
treebd2a75a45eec84a4333baec135ecc16bf6213871
parentd8e3cb9e650fbdd49b10572fa60e919384f4ea8a (diff)
downloadrustdesk-server-fd1c21b114fb1e68980ad228bfc3961099c0d138.tar.gz
rustdesk-server-fd1c21b114fb1e68980ad228bfc3961099c0d138.zip
fmt
-rw-r--r--src/rendezvous_server.rs2
1 files changed, 1 insertions, 1 deletions
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);