]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix *_get_all_orports to use ipv6_orport
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Mon, 21 Dec 2015 23:42:09 +0000 (10:42 +1100)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Thu, 28 Jan 2016 20:13:56 +0000 (07:13 +1100)
commit4460feaf2850ef0fb027a2d01786a5bbaee056dc
tree8e3de118ffa8b198600cc4b8e56b37321369b69b
parentb9714e1366a19dff1f9abe18a22dc4367788cc3c
Fix *_get_all_orports to use ipv6_orport

node_get_all_orports and router_get_all_orports incorrectly used or_port
with IPv6 addresses. They now use ipv6_orport.

Also refactor and remove duplicated code.
src/common/address.c
src/common/address.h
src/or/nodelist.c
src/or/router.c