]> git.ipfire.org Git - thirdparty/tor.git/commit
Having a ControlPort open doesn't mean we are a client
authorDavid Goulet <dgoulet@torproject.org>
Wed, 9 May 2018 16:40:06 +0000 (12:40 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Wed, 9 May 2018 16:50:53 +0000 (12:50 -0400)
commitbca8a104b291c0f475c87905e0dc958978776ecb
treec63ecbcad977886535dd0eacdfde3c85a92d73b3
parent5227754b2f441c93da6436697a19841e9e71246f
Having a ControlPort open doesn't mean we are a client

The any_client_port_set() returns true if the ControlPort is set which is
wrong because we can have that port open but still not behave as a tor client
(like many relays for instance).

Fixes #26062

Signed-off-by: David Goulet <dgoulet@torproject.org>
changes/ticket26062 [new file with mode: 0644]
src/or/networkstatus.c