diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2014-05-24 15:03:14 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-23 10:07:17 -0500 |
commit | 3966145dff817adb67e5b46020632d55f19e289f (patch) | |
tree | 2dc45c468a33e3f5c661890b074830497e9c04be /changes | |
parent | fef65fa64341fb70df0e7b34d91d3b08a74e7aad (diff) | |
download | tor-3966145dff817adb67e5b46020632d55f19e289f.tar.gz tor-3966145dff817adb67e5b46020632d55f19e289f.zip |
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.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/ticket12376_part2 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/changes/ticket12376_part2 b/changes/ticket12376_part2 new file mode 100644 index 0000000000..13f9bb54dc --- /dev/null +++ b/changes/ticket12376_part2 @@ -0,0 +1,11 @@ + 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. + |