Closed gershnik closed 2 years ago
@gershnik Could you please verify that wsdd still works on MacOS after my changes?
@christgau Nice - love this change! At the first run - doesn't work - something is wrong. I'll investigate and update.
@christgau The definition of the struct was off by a few bytes. I fixed it and the comment explains what is going on.
(timeval32 is actually 2 uint32_t
s and the whole if_data
is under #pragma pack(4)
).
Runs great now. (You also need my other PR for it to fully work with IPv6)
FreeBSD code path works just fine on Mac. The only changes necessary were:
RouteSocketAddressMonitor
intf_blacklist
(this probably happens on FreeBSD too but I don't have one to check).