Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix deprecation warning on ping and dns binaries #31

Merged
merged 1 commit into from
Mar 4, 2018
Merged

Fix deprecation warning on ping and dns binaries #31

merged 1 commit into from
Mar 4, 2018

Conversation

Nickforall
Copy link
Contributor

I noticed some deprecation warnings in netutils when updating my build today, and thought it was a good first rusty contribution to Redox.

Since rust-lang/rust#47510, lookup_host host is deprecated, and the way to resolve IP addresses is now using std::net::ToSocketAddrs.

Again, this is my first Rust contribution to Redox, so please let me know if something is wrong, you can also reach me on the chat.

@jackpot51 jackpot51 merged commit 7eda176 into redox-os:master Mar 4, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants