config: Set flag for implicit port address
commit80b33ae1ca148753558afa7bc8b43ba3df6d7948
authorDavid Goulet <dgoulet@torproject.org>
Thu, 11 Feb 2021 21:12:59 +0000 (11 16:12 -0500)
committerDavid Goulet <dgoulet@torproject.org>
Thu, 11 Feb 2021 21:12:59 +0000 (11 16:12 -0500)
tree4512b6eb6d73eefe293156a9d190f6c0fcfa4481
parent758000aa98432414847393420324fef983c66f1e
config: Set flag for implicit port address

Fun bug where we thought we were using the default "false" value when an
implicit address was detected but if we had an explicit address before, the
flag was set to true and then we would only use that value.

And thus, for some configurations, implicit addresses would be flagged as
explicit and then configuring ports goes bad.

Related to #40289

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