aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2014-05-24 15:03:14 +0300
committerNick Mathewson <nickm@torproject.org>2015-01-23 10:07:17 -0500
commit3966145dff817adb67e5b46020632d55f19e289f (patch)
tree2dc45c468a33e3f5c661890b074830497e9c04be /changes
parentfef65fa64341fb70df0e7b34d91d3b08a74e7aad (diff)
downloadtor-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_part211
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.
+