config: Prioritize port with explicit address
commit9321ddf3a1cae9e8f0e59b368ff3c57aed5ac1a8
authorDavid Goulet <dgoulet@torproject.org>
Tue, 19 Jan 2021 17:36:44 +0000 (19 12:36 -0500)
committerDavid Goulet <dgoulet@torproject.org>
Tue, 19 Jan 2021 18:07:49 +0000 (19 13:07 -0500)
tree2b08faca0c3cb3e74f6d4907fd8d34425da57d75
parent938623004b025c5c85745703d817e33a5308da5a
config: Prioritize port with explicit address

When selecting the first advertised port, we always prefer the one with an
explicit address.

Closes #40246

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/app/config/config.c