Using the cast results in alignment errors from LLVM.
Instead use a local copy of the sockaddr.
Details
Details
- Reviewers
bz - Group Reviewers
wireless - Commits
- rG571743bdc6e2: wlanwds: use a local copy of the ifaddr sockaddr, avoid cast
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
tools/tools/net80211/wlanwds/wlanwds.c | ||
---|---|---|
287 | oh wow, why'd I do it like this in 2017? I must've found this in some existing code, aiee. |
tools/tools/net80211/wlanwds/wlanwds.c | ||
---|---|---|
298 | oh god why aren't these functions in a library somewhere :P |