Workaround XNU bug in getifaddrs netmasks#1788
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.
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
Fixes #1709