-
Notifications
You must be signed in to change notification settings - Fork 718
Workaround XNU bug in getifaddrs netmasks #1788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c785f03 to
c680f93
Compare
|
CI breakage seems unrelated to my MR (looks like the latest serde release broke compatibility with the version of rustc/cargo used by CI). |
c680f93 to
8689956
Compare
8689956 to
fd0a878
Compare
The CI breakage was due to a Cargo bug that has since been fixed. However, serde needs to yank their most recent release and publish a new one before things will work again. serde-rs/serde#2255 . |
asomers
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It really sticks in my craw that we have to do this, but I guess we do. We can't fix OSX. Don't forget to add a CHANGELOG entry.
|
Rebasing will fix ci |
8d0ad34 to
9a05de5
Compare
|
I rewrote the workaround to be safer - at least, I think it's safer. It now copies the data to a new zeroed sockaddr_storage. |
9a05de5 to
b017f1c
Compare
|
Bump. This has been used in prod for a little while, and is, as far as I can tell, sound. |
|
@roblabla you still need to rebase this, both to fix CI and to fix the conflict. |
b0c1eb6 to
2accd76
Compare
|
Looks good, but still needs a CHANGELOG entry. |
2accd76 to
16f8ff9
Compare
asomers
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Fixes #1709