From aaef9a2519d81c016bc1f58272121ed908fbff10 Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 7 Nov 2019 10:44:10 +1000 Subject: relay: Stop failing on startup when the relay module is disabled When the relay module is disabled, make "ClientOnly 1" and "DirCache 0" by default. (But keep "ClientOnly 0" and "DirCache 1" as the defaults for the unit tests.) And run "make autostyle". Part of ticket 32410. --- src/feature/relay/relay_config.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/feature') diff --git a/src/feature/relay/relay_config.h b/src/feature/relay/relay_config.h index 214f07efc2..5c36b43bd2 100644 --- a/src/feature/relay/relay_config.h +++ b/src/feature/relay/relay_config.h @@ -122,9 +122,6 @@ options_validate_relay_mode(const or_options_t *old_options, return -1; } - /* 31851 / 29211: Set this option the correct way */ - options->ClientOnly = 1; - return 0; } -- cgit v1.2.3-54-g00ecf