HomeFreeBSD

wlanwds: use a local copy of the ifaddr sockaddr, avoid cast

Description

wlanwds: use a local copy of the ifaddr sockaddr, avoid cast

Using the cast results in alignment errors from LLVM.
Fix it to go through void *.

Differential Revision: https://reviews.freebsd.org/D48996

Details

Provenance
adrianAuthored on Thu, Feb 13, 6:28 PM
Differential Revision
D48996: wlanwds: use a local copy of the ifaddr sockaddr, avoid cast
Parents
rG36347cfbf7ac: wlanwds: convert getifaddrs() iteration to use the ifa_next pointer
Branches
Unknown
Tags
Unknown