]> git.ipfire.org Git - thirdparty/tor.git/commit
Introduce and use router_get_active_listener_port_by_type().
authorGeorge Kadianakis <desnacked@riseup.net>
Sat, 31 Mar 2012 11:54:09 +0000 (13:54 +0200)
committerGeorge Kadianakis <desnacked@riseup.net>
Sat, 31 Mar 2012 11:54:09 +0000 (13:54 +0200)
commitfedf76a2e6452124c38ecc51cea6567b9d5cc23d
tree9e312986c70ae482346cb8f35ac9a0748692df99
parentda6e0993dc4a0037933a522e2f578c145f6538cc
Introduce and use router_get_active_listener_port_by_type().

router_get_active_listener_port_by_type() iterates all connections,
trying to find a listener of a specific type, and returns its TCP
port.
src/or/router.c
src/or/router.h