TLS-F: Fetcher V2

This commit is contained in:
Alexey
2026-02-20 13:36:54 +03:00
parent 32a9405002
commit 487aa8fbce
3 changed files with 47 additions and 34 deletions

View File

@@ -138,7 +138,7 @@ pub fn resolve_interface_ip(name: &str, want_ipv6: bool) -> Option<IpAddr> {
}
} else if let Some(v6) = address.as_sockaddr_in6() {
if want_ipv6 {
return Some(IpAddr::V6(v6.ip().to_std()));
return Some(IpAddr::V6(v6.ip().clone()));
}
}
}