aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-04-25 15:14:14 -0400
committerNick Mathewson <nickm@torproject.org>2017-05-09 10:30:52 -0400
commitb867295ffd75c4ab930a8e59a1302ffd2b289bc7 (patch)
tree767573845086fc3a57d35133bea1bdfe39f81c27 /src/or/circuituse.c
parent7f95ef6e66754112e7a84e4da83ed754b1dc9626 (diff)
downloadtor-b867295ffd75c4ab930a8e59a1302ffd2b289bc7.tar.gz
tor-b867295ffd75c4ab930a8e59a1302ffd2b289bc7.zip
config: Parse ports at the start of options_validate()
There was a bug that got exposed with the removal of ORListenAddress. Within server_mode(), we now only check ORPort_set which is set in parse_ports(). However, options_validate() is using server_mode() at the start to check if we need to look at the uname but then the ORPort_set is unset at that point because the port parsing was done just after. This commit fixes that. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/circuituse.c')
0 files changed, 0 insertions, 0 deletions