From 47f9edde699ad687884b6222b557c10dee2592c9 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 15 Jun 2020 15:02:08 -0400 Subject: config: Change Address to be a LINELIST With prop312, we want to support IPv4 and IPv6 thus multiple Address statement (up to 2) will be accepted. For this, "Address" option becomes a LINELIST so we can properly process the IPv4 or/and IPv6. Part of #33233 Signed-off-by: David Goulet --- src/feature/relay/relay_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/feature/relay/relay_config.c') diff --git a/src/feature/relay/relay_config.c b/src/feature/relay/relay_config.c index fac6a2f577..7b43b57423 100644 --- a/src/feature/relay/relay_config.c +++ b/src/feature/relay/relay_config.c @@ -1029,7 +1029,7 @@ options_transition_affects_descriptor(const or_options_t *old_options, YES_IF_CHANGED_STRING(DataDirectory); YES_IF_CHANGED_STRING(Nickname); - YES_IF_CHANGED_STRING(Address); + YES_IF_CHANGED_LINELIST(Address); YES_IF_CHANGED_LINELIST(ExitPolicy); YES_IF_CHANGED_BOOL(ExitRelay); YES_IF_CHANGED_BOOL(ExitPolicyRejectPrivate); -- cgit v1.2.3-54-g00ecf