aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);