Having a ControlPort open doesn't mean we are a client
commit67a41b63063370c2c655a91a801f7be2dd4732a5
authorDavid Goulet <dgoulet@torproject.org>
Wed, 25 Apr 2018 17:43:37 +0000 (25 13:43 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Wed, 9 May 2018 16:49:34 +0000 (9 12:49 -0400)
treef8e3394da4a176d60b3d4145020fbccd4861503d
parent01ffe8e2f4ca24325e81f040e1ac3a5a17afa5d5
Having a ControlPort open doesn't mean we are a client

The options_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/config.c