]> git.ipfire.org Git - thirdparty/tor.git/commit
Add get_interface_address[6]_list for a list of interface IP addresses
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Tue, 15 Sep 2015 07:04:18 +0000 (17:04 +1000)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Tue, 15 Sep 2015 07:04:18 +0000 (17:04 +1000)
commit31eb486c4624d1437d982ffdfc1f9d7d83c5ffd6
tree63993443cc4c4eb32efc6e218e0c35a03d956158
parenta444b11323799536b4cd7902e29f711b0806293a
Add get_interface_address[6]_list for a list of interface IP addresses

Add get_interface_address[6]_list by refactoring
get_interface_address6. Add unit tests for new and existing functions.

Preparation for ticket 17027. Patch by "teor".
Patch on 42b8fb5a1523 (11 Nov 2007), released in 0.2.0.11-alpha.
changes/bug17027-reject-private-all-interfaces [new file with mode: 0644]
src/common/address.c
src/common/address.h
src/test/test_address.c