system-configuration-rs
system-configuration-rs copied to clipboard
Fix std::net::SocketAddr to libc::sockaddr conversion.
This make SCNetworkReachabilityCreateWithAddressPair work with any valid pair of addresses, not only 0.0.0.0.
The fixed implementation is mostly taken from socket2
@dlon could you please review this PR, thanks a lot in advance!
@faern could you please take a look at this PR and merge if you are ok with changes? Thanks a lot in advance, Yury.
Hi. Sorry for the slow reply. It's still vacation period in Sweden and many developers are off. We'll get back to you once we have the manpower to handle third party PRs :) Thanks for contributing a fix!
Ok, no problem at all, have a great vacation!
This fix has now been published, as part of 0.6.1: https://crates.io/crates/system-configuration/0.6.1