I don't know what I was thinking in 2017 when I wrote this, but
it's very wrong.
Use ifa->ifa_next to iterate, not the array index / pointer arithmetic.
Differential D49148
wlanwds: convert getifaddrs() iteration to use the ifa_next pointer adrian on Thu, Feb 27, 2:25 AM. Authored by Tags Referenced Files
Subscribers
Details
I don't know what I was thinking in 2017 when I wrote this, but Use ifa->ifa_next to iterate, not the array index / pointer arithmetic.
Diff Detail
|