diff options
author | rustdesk <[email protected]> | 2023-06-08 14:11:37 +0800 |
---|---|---|
committer | rustdesk <[email protected]> | 2023-06-08 14:11:37 +0800 |
commit | fd1c21b114fb1e68980ad228bfc3961099c0d138 (patch) | |
tree | bd2a75a45eec84a4333baec135ecc16bf6213871 | |
parent | d8e3cb9e650fbdd49b10572fa60e919384f4ea8a (diff) | |
download | rustdesk-server-fd1c21b114fb1e68980ad228bfc3961099c0d138.tar.gz rustdesk-server-fd1c21b114fb1e68980ad228bfc3961099c0d138.zip |
fmt
-rw-r--r-- | src/rendezvous_server.rs | 2 |
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); |