tor/changes/ticket12376_part2
rl1987 3966145dff Refactor code that looks up addresses from interfaces
Now the code has separate implementation and examination functions,
uses smartlists sanely, and has relatively decent test coverage.
2015-01-23 10:07:17 -05:00

12 lines
446 B
Plaintext

o Major refactoring:
- Refactor the get_interface_addresses_raw() Doom-function into
multiple smaller and easier to understand subfunctions. Cover the
resulting subfunctions with unit-tests. Fixes a significant portion
of issue 12376.
o Minor bugfixes:
- Fix the ioctl()-based network interface lookup code so that it will
work on systems that have variable-length struct ifreq, for example
Mac OS X.