diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-01-26 11:59:01 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-01-26 12:08:15 -0500 |
commit | 6ed384b827dce21ea3a44b58792cc28b2ed48056 (patch) | |
tree | 7f4e7f5af7ef3cb21dae370cb0f0e0f2acc16b7d /changes/18105 | |
parent | 2a7bfec364a30a92c3babe658ece2db1a8a40d03 (diff) | |
download | tor-6ed384b827dce21ea3a44b58792cc28b2ed48056.tar.gz tor-6ed384b827dce21ea3a44b58792cc28b2ed48056.zip |
Use tor_addr_from_getsockname() in several places
I'm leaving the getsockname code in transproxy alone, since it is
comparatively isolated, rather platform-specific, and hard to test.
Implements 18105.
Diffstat (limited to 'changes/18105')
-rw-r--r-- | changes/18105 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/18105 b/changes/18105 new file mode 100644 index 0000000000..87e6e61d2f --- /dev/null +++ b/changes/18105 @@ -0,0 +1,4 @@ + o Code simplification and refactoring: + - Introduce a function to call getsockname() and return + tor_addr_t, to save a little complexity throughout the codebase. + Closes ticket 18105. |